Possible Duplicate:
How to run a command when a directory's contents are updated?
I need to be notified and perform other tasks when a file is uploaded onto my server. Is there any method/system call that will be triggered or anything that I can hook onto?
I'm using vsftpd as my ftp server.
inotify
can also watch directories, so the answers there might help. (You could also use something likepyftpdlib
(or something like that for your language of choice) to integrate the FTP server functionality in your application.) – sr_ Sep 25 '12 at 08:40