All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Gilali
Posts: 35 Joined: Fri Aug 22, 2008 4:04 am
Location: Belgium
Post
by Gilali » Tue Jan 12, 2010 4:53 am
Hi,
I tested, yesterday, a vb script whose detect a file presence on mapped drive in our network. I created test name.
When I tested it from RCC, I have a good reply :
Script executed
Status: Ok
Reply: File is present
When I tried to do that from server where host monitor is installed, I have this reply :
Script executed
Status: Bad
Reply: File not present
From RCC and Server, I have access to this file with no restrictions!!!
Mapped drive is both defined.
Someone has an idea ???
Gilali
Posts: 35 Joined: Fri Aug 22, 2008 4:04 am
Location: Belgium
Post
by Gilali » Tue Jan 12, 2010 6:54 am
Ok, I found another way to check it.
Simply using full path adress like \\server\drive\folder\...\file.TXT and it's running good.
But I can't explain why it didn't work with mapped drive.
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Tue Jan 12, 2010 11:12 am
But I can't explain why it didn't work with mapped drive.
Probably because HostMonitor is started as service?
a vb script whose detect a file presence on mapped drive in our network
Why do you need such script? HostMonitor offers "File/Folder Availability" test method.
Regards
Alex
Gilali
Posts: 35 Joined: Fri Aug 22, 2008 4:04 am
Location: Belgium
Post
by Gilali » Fri Jan 15, 2010 3:49 am
Sorry for my later response, I was in holiday
Probably because HostMonitor is started as service?
Yes, it's installed like service.
Why do you need such script? HostMonitor offers "File/Folder Availability" test method.
Because file name changes every day. ie : FileName_dd_MM_YY.CSV
I'll try to extract file name without date, and test it if it is present or not in folder.
Thanks again for your help.
Regards,
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Fri Jan 15, 2010 12:37 pm
>Yes, it's installed like service.
Windows services do not have access to mapped drives. You should use UNC path instead.
>Because file name changes every day. ie : FileName_dd_MM_YY.CSV
So what is the problem? You may use variables in the path to the file.
Please check the manual or on-line help for more information
http://www.ks-soft.net/hostmon.eng/mfra ... htm#macros
Regards
Alex
Gilali
Posts: 35 Joined: Fri Aug 22, 2008 4:04 am
Location: Belgium
Post
by Gilali » Sun Jan 17, 2010 2:51 pm
Thanks Alex.
With this, I can do it!
I think that I miss this part of manual
(RTFM
)
Sorry I bother you.
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Mon Jan 18, 2010 1:06 pm
No problem
Regards
Alex