How would I run a script after a file has been successfully uploaded over (a chrooted) SFTP?
I have this working on standard FTP connection using PureFTP
http://linux.die.net/man/8/pure-uploadscript
I'm running Debian Squeeze
I was able to accomplish this with ProFTPd & the mod_exec module.
mod_exec
I'd use incron. This uses the kernel's inotify hooks to run arbitrary commands on specified filesystem events.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
7 months ago
viewed
133 times
active