script to be run after every FTP transfer

Hello everyone,

we are running VSFtpd as FTP Server on Redhat AS 5. I would like to have a script to be run immediately after every FTP transfer. Is is possible (or with any other FTP Server?).

I thought of writing a script to monitor if FTP transfer happening and run the required-script after FTP transfer finishes.

Pl advise.

TIA
Prvn

Never heard of this, to start a script right after a ftp transfer, may be you want to share what your need here...

Will the ftp log good enough for you

eg.
Tue Mar 4 15:37:18 2008 3 192.168.11.9 1537412 /home/timontt/pool.wmv b _ i r timontt ftp 0 * c

As timontt said...log entries are an easy key. Interesting requirement. I'd be willing to help with internals as this sounds like a pretty good idea in general.