Hello.
I have such problem I cannot solve:
I need to monitor presence of some files on FTP site, but the files are quite special:
- we use them as a semaphore files for interfaces between severals very different systems,
- they are empty and have no extention (i.e. DEMOK, SCALEOK)...
...and here the problem starts:
when the file is empty doing an URL test as status I get "No answer"...
Do anybody have an idea how to solve it?
I'd like to avoid using any external scripts.
I'll be very thankful for Your help.
Bye and greetings from Poland
Monitoring of existence of empty file w/o extention on FTP
About URL test problem:
I cannot reproduce such problem using our FTP server. Empty files can be correctly monitored.
May be you have added slash (/) at the end of the URL? That' why FTP server reqects request...
About UNC test problem:
You cannot use this test methdo to monitor files. Use "File/Folder Availability" test method instead. It supports UNC path as name of the file.
What version of HostMonitor do you use?
Regards
Alex
I cannot reproduce such problem using our FTP server. Empty files can be correctly monitored.
May be you have added slash (/) at the end of the URL? That' why FTP server reqects request...
About UNC test problem:
You cannot use this test methdo to monitor files. Use "File/Folder Availability" test method instead. It supports UNC path as name of the file.
What version of HostMonitor do you use?
Regards
Alex
Monitoring empty files on FTP
Hello.
- I use Advanced Host Monitor 5.62 Beta but I also used and tested this problem on Advanced Host Monitor 5.38 - it still persisted.
- HM is istalled on Windows XP Prof. PL (SP2).
- Monitored FTP server is on Windows 2000 Enterpise Server ENG (SP4 + Roll Out) provided by standard IIS FTP service.
And mapping disk drives in Windows won't be good solution, because I'd need hundreds of such tests...
"Check contest" -> "shouldn't contain" -> "1"
and now:
So, as You can see, URL test can see the file (so the configuration is ok) but it has problems with empty file...
I don't understand why... especially, when You wrote that on Your server You don't have such problems.
My configuration:KS-Soft wrote: What version of HostMonitor do you use?
- I use Advanced Host Monitor 5.62 Beta but I also used and tested this problem on Advanced Host Monitor 5.38 - it still persisted.
- HM is istalled on Windows XP Prof. PL (SP2).
- Monitored FTP server is on Windows 2000 Enterpise Server ENG (SP4 + Roll Out) provided by standard IIS FTP service.
Yes, You're right. I've found it out laterKS-Soft wrote: About UNC test problem:
You cannot use this test methdo to monitor files.

I cannot use "File/Folder Availability" because the host to be monitored is outside my domain, so I have to use NT authorization and this test doesn't provide such option.KS-Soft wrote: Use "File/Folder Availability" test method instead. It supports UNC path as name of the file.

This is quite strange:KS-Soft wrote:About URL test problem:
I cannot reproduce such problem using our FTP server. Empty files can be correctly monitored.
May be you have added slash (/) at the end of the URL? That' why FTP server reqects request...
- - when file doesn't exist I get 'Host is Alive' status(*)
,
- when file exists and is not empty a get also 'Host is Alive',
- when file exists and it's empty a get 'No answer'.
"Check contest" -> "shouldn't contain" -> "1"
and now:
- - when the file doesn't contain "1" in it and it's not empty I get 'Host is Alive',
- when the file contains "1" I get 'Bad contest',
- when the file is empty I get 'No answer'...
So, as You can see, URL test can see the file (so the configuration is ok) but it has problems with empty file...
I don't understand why... especially, when You wrote that on Your server You don't have such problems.
You may provide account for NT authorization using Connection ManagerI cannot use "File/Folder Availability" because the host to be monitored is outside my domain, so I have to use NT authorization and this test doesn't provide such option.
http://www.ks-soft.net/hostmon.eng/mfra ... htm#conmgr
Regards
Alex
I just tested HostMonitor with 3 FTP servers: NcFTP, PureFTP and ProFTP server. No problems at all. Simple test and CRC function works fine.This is quite strange:
- when file doesn't exist I get 'Host is Alive' status(*) ,
- when file exists and is not empty a get also 'Host is Alive',
- when file exists and it's empty a get 'No answer'.
So, I see 3 possible reasons of that odd behavior
1) May be some IIS bug? I will check that.
2) May be some wininet.dll bug? To check that, could you try to install HostMonitor on different system (not XP)?
Our XP systems crashed when we applied latest security patches from Microsoft. May be that's the reason...
3) May be its side effect of some 3rd party application. E.g. antivirus monitor or personal firewall? Do you have such software installed on your system? Could you try to install HostMonitor on clean system?
Regards
Alex
HI!
For today everything seems to be fine
! I don't understand! I took me 2 days trying to solve it and now suddenly it's ok!
Or I am "not very smart" or there is really some bug, that accidentaly was fixed...
Really I don't understand. Windows is really a "misterius unpredictible thing"...
Thank You very much for Your time. I will draw a conclusion for the future.
Greetings.
For today everything seems to be fine

Or I am "not very smart" or there is really some bug, that accidentaly was fixed...
Really I don't understand. Windows is really a "misterius unpredictible thing"...

Thank You very much for Your time. I will draw a conclusion for the future.
Greetings.