I am using fileSystemWatcher in C# winforms to monitor new files and folders created in the c:\Backup
Folder, my clients transfer files to this folder and my application is supposed to zip newly created files and folders and sends them with email.
I have no problem with Watcher and its events and it's working fine.
my question is how can I know if copying large files to c:\Backup
is finished so my app can start zipping them and send them?
Update : i just found out that every file copied raises the
Created
event first and then at the start of copying raisesChanged
event and after copy is finished it raisesChanged
event again.