File system watcher - problems on Windows
We have implemented a file system watcher. It is working pretty good on Linux and MAC but we have the following problem on Windows.
When a big file is copied on FS, I'm receiving an event that a file is created. I'm checking the last modified attribute on regular intervals in order to understand whether the copying is finished or not. Unfortunately the last modified attribute is not changing. It is set once and that's all.
My question is: how to understand that the file copying is finished.
I know that there is File system watcher in Java SE 7, but we still use Java SE 6.
Thanks in advance