View Single Post
Old 04-14-2004, 05:04 PM  
Scuttle
Junior Member
 
Join Date: Apr 2004
Posts: 6
Default

Quote:
Originally posted by mr_F
on pre RETR, run a script to see if the file exists that is requested, if not (but the directory with the same name minus the extention exists) then tar it up and send it off?

something would have to be trigged to del the tarball after the file is downloaded
Hmm, this looks like an excellent place to start. I checked ioftpd.ini and found [FTP_Pre-Command_Events]. The RETR-command was not entered here (using a basic installation). Can I just add "RETR = my-bat-file.bat" here?

Also, I take it I could use another bat-file on the OnDownloadComplete-event and delete the file?
Scuttle is offline   Reply With Quote