469,626 Members | 1,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

System.IO.FileSystemWatcher done creating event not exist

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
1 1690
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.

Similar topics

7 posts views Thread by Allen Anderson | last post: by
2 posts views Thread by kmcnet | last post: by
9 posts views Thread by Tushar | last post: by
1 post views Thread by D2 | last post: by
2 posts views Thread by John Talli | last post: by
7 posts views Thread by =?Utf-8?B?Tmljaw==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.