I use incron for this kind of thing. Trigger on the close of the file. 

-- 
Brian Lalor
blalor@bravo5.org

On Mar 6, 2016, at 9:13 AM, michael gordon <mgordonabc@gmail.com> wrote:

We allow our third party clients to upload files for processing via ftp. Once the file is done a java app is triggered to process the file and move it to a processed folder. How do we know when the file is done writing,the file events  we have observed include create, modify.  These dont help since the ftp program writes file contents in blocks and then triggers the modified event, there is no finish event.

What can you recommend

--
Michael Gordon
Email: mgordonabc@gmail.com

_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
https://lists.centos.org/mailman/listinfo/centos-devel