I have noticed the comment that "This does not test that the FTP service is capable of transferring files..."  Checking this capability can be done easily with scripting. 
 
Simply write a script that transfers a copy of a custom test/html file from the FTP server to the what's up server every minute( or whatever interval you like).
 
Check the file content using Whats Up. 
 
Delete the file using the script. 
 
On each poll the file is not availlable for reading, that would indicate the file transfer was not successful, thus the service check would fail.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Daniel Donnelly
Sent: Monday, July 18, 2005 12:47 PM
To: [email protected]
Subject: RE: [WhatsUp Forum] Scripted FTP Login

This is one I've used!
 
# If your FTP server sends multiple lines in response to
# commands, this simple script will fail!
#Connection response
SimpleExpect=220
#Begin user login
Send=USER testuser\r\n
#User name accepted?
# Text after number may be different for your server!
# Try removing the text leaving only the number
SimpleExpect=331 Password required
#Send password
Send=pass testuser\r\n
#User logged in?
# Text after number may be different for your server!
# Try removing the text leaving only the number
SimpleExpect=230 user logged in
#Disconnect
Send=QUIT\r\n
# Text after number may be different for your server!
# Try removing the text leaving only the number
SimpleExpect=221 Good-Bye
This does not really test that the FTP service is capable of transferring files, that would require much more than WU can do...
 
Daniel Donnelly

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Robert Goodwin
Sent: Monday, July 18, 2005 10:25 AM
To: [email protected]
Subject: [WhatsUp Forum] Scripted FTP Login

Has anyone scripted a login for an FTP site to validate the server is actually working?

 

Not just a port query

 

For WUP 8

Reply via email to