Answer the question
In order to leave comments, you need to log in
How can I programmatically detect that a file has been copied?
Hello!
I use FileSystemWatcher to watch the directory. But when copying large files, the following problems arise:
1) When the Created event occurs, the file may not have been fully copied yet.
2) The Changed event can be generated several times, which does not suit me.
Tell me, is there a way to determine that the file is copied completely)?
Answer the question
In order to leave comments, you need to log in
Learn to use searches and queries like "FileSystemWatcher wait for complete": stackoverflow.com/questions/10982104/wait-until-fi...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question