That's a great help Larry. 

I'll bet that the overhead of putting a zero byte file is not much more than 
the quote touch (if it worked) anyways.

Thanks,
Scott

-------------- Original message -------------- 
From: "Larry Hiscock" <[EMAIL PROTECTED]> 

Quote does not allow any arbitrary command -- that would be a HUGE security 
hole.  For a list of the commands that are allowed to be quoted, ftp to the 
external server, then type:  quote help

This should return a list of available commands.

Larry Hiscock
Western Computer Services




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 1:15 PM
To: u2-Users
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