C# FileSystemWatcher, How to know file copied completely into the watch folder

后端 未结 7 1210
予麋鹿
予麋鹿 2020-12-06 20:14

I am developing a .net application, where I am using FileSystemWatcher class and attached its Created event on a folder. I have to do action on this event (i.e. copy file to

7条回答
  •  长情又很酷
    2020-12-06 20:39

    This answer is a bit late, but if possible I'd get the source process to copy a small marker file after the large file or files and use the FileWatcher on that.

提交回复
热议问题