By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,712 Members | 1,390 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,712 IT Pros & Developers. It's quick & easy.

System.IO.FileSystemWatcher done creating event not exist

P: n/a
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
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I had this exact same problem. I found that so far though, last write
seems to catch when the file is done/closing.
On Tue, 2 Mar 2004 13:45:08 -0800, "BK Kim" <bk***@destinationrx.com>
wrote:
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


Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.