peleg k

peleg k

  • NA
  • 36
  • 0

FileSystemWatcher and copy file

Apr 22 2011 2:13 PM
1) i am using FileSystemWatcher  to get an event when a new file is copied to my monitored folder.
the problem is, that i want to copied this new file, but if its 100MB file, i will get an error that the file is in use! - os there a way to check that the file has finished coping before it try to copy it?

2)i am holding an array of instances of FileSystemWatcher , and i want with each instance that i put in the array to save some more data - how can i do it?

Answers (1)