LINUX: how to detect that ftp file upload is finished.

Posted by duke84 on Stack Overflow See other posts from Stack Overflow or by duke84
Published on 2010-06-18T14:41:34Z Indexed on 2010/06/18 14:43 UTC
Read the original article Hit count: 153

Filed under:
|
|

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 uploading is finished. Because if I run this script immediately after detecting the new file, it can start to process file that is not completely uploaded, which will cause an error. Can anybody tell if this is possible on LINUX and how can I do this?

© Stack Overflow or respective owner

Related posts about linux

Related posts about upload