I have a process that wakes up occasionally and processes new files in a directory. The files are large and I want to know that the transfer of the file from the client is complete before I try to read and process the file. I tried
to no avail. I'd like to avoid watching the file for several seconds for modified time change for performance reasons but could default to that if nothing better comes up. Any thoughts??