System.IO.FileSystemWatcher done creating event not exist

  • Thread starter Thread starter BK Kim
  • Start date Start date
B

BK Kim

Hello.

I am trying to make an application that monitors a specific folder.

Once there is a new file copied, it needs to execute some methods.

However, I realized that Created event in System.IO.FileSystemWatcher fires
when there is a new file creating.

I may get a huge file which takes several seconds to be copied and I need to
execute some method after the copying is done.

Of course, I can use timer to wait for a few seconds but I personally want
avoid using timer.

Is there a good way to solve this problem?

Thanx in advance
 
I had this exact same problem. I found that so far though, last write
seems to catch when the file is done/closing.
 
Back
Top