You could do a ping server and see if it is alive.
 
We also do a post ftp process after we 'put' a file on another server. We go 
back to the other server via ftp and do a 'dir' on the directory looking for 
the file so we can capture the size to make sure the whole thing made it. That 
all gets put into an email and sent to the person responsible for the ftp. - Rod

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 3:15 PM
To: [email protected]
Subject: [U2] anonymous ftp commands


Hi all,
 
There is an external application that sends data to our system via ftp that I 
want to monitor.  I would like for this user to execute a unix touch on a file 
in their home directory using the ftp quote command  (quote SH -C "touch 
./myfile").  This would tell me that their server is up even though there is no 
data to send.  The problem is (i am guessing) that they do not have authority 
to the touch command.  I thought I could copy the touch command into the users 
home directory to get it to work but it did not.  I looked at a file called 
/etc/ftpd/ftpaccess but nothing jumped out at me in there.
 
Can anyone tell me if what I am trying to do is feasible and if so what I am 
doing wrong?
 
Thanks

Reply via email to