Hello Monks,
I am trying to watch over a folder for uploads, and when one is finished process each file in some way. Using Win32::FileSystem::Watcher now, I see for each file added three events: FILE_ACTION_ADDED, FILE_ACTION_MODIFIED when writing begins and another FILE_ACTION_MODIFIED when the client finishes the upload. Counting MODIFIED and acting on the second one is cumbersome and might lead to errors, is there some way to get a FILE_CLOSED event? I do realize this will not apply to paused/resumed uploads or torrents, but this is not a concern yet.