LINUX: how to detect that ftp file upload is finished

前端 未结 6 789
半阙折子戏
半阙折子戏 2020-12-14 08:54

In my project I have a file uploading feature. Files are uploaded via FTP. I need to configure a listener that will check for new files and invoke a script only when file up

6条回答
  •  死守一世寂寞
    2020-12-14 09:41

    I was looking for the same thing and stumbled on pureftpd which has an upload script feature. Sounds like exactly what was needed. Found the details here: http://www.linuxbyexamples.net/2012/10/config-ftp-server-trigger-upload-file-to-call-external-script.html

提交回复
热议问题