Hot answers tagged ftp
It depends on your FTP server. For example, for pure-ftpd, you do it this way: Set the option CallUploadScript to yes (just create a file called /etc/pure-ftpd/conf/CallUploadScript and write yes in it) In /etc/default/pure-ftpd-common, add the path to the script you want to run on each upload after UPLOADSCRIPT=. Restart the service (# service pure-ftpd ...
Only top voted, non community-wiki answers of a minimum length are eligible