I'm using a fileSystemWatcher to poll a certain folder for new files. The files placed in this folder need to get changed and placed in another folder. Sometimes the file isn't writte completely causing an error:
The process cannot access the file 'C:\\sharpspool\\input.jt' because it is being used by another process.
Is it possible to raise the fileSystemWatcher event only when the file is fully written and not in use by any other application?
Thanks for the help!
View Complete Post