i need to watch a folder for incoming files. i did that with the following help:
http://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes-using-python
the problem is that the files that are being moved are pretty big (10gb)
and i want to be notified when all files are done moving.
i tried comparing the size of the folder every 20 seconds but the file shows its correct size even tough windows shows that it is still moving.
i am using windows with python
i found a solution using open and waiting for an io exception. if the file is still being moved i get errno 13.