This page describes setup steps required to implement an FTP server that takes some action when a file is uploaded. To accomplish this, we use the Debian operating system along with Pure FTP Server.
apt-get install pure-ftpd
echo 'yes' > /etc/pure-ftpd/conf/CallUploadScript
/etc/default/pure-ftpd-commonand specify the upload script in the
chmod +xthe upload script.