Search:
Namespaces
Discussions
.NET v1.1
Feedback
FileSystemWatcher.Created Event Question - Please look!
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.framework
.
Post a new message to this list...
Florida Development
I have the need to monitor a directory for the arrival of files and then to
run some processing on those new files. This is easy enough conceptually,
the problem I have is that I get an event to handle when the file is first
created yet is not fully written to the disk yet. Is there some simple way
(that will pass a code review) that I can determine when the file write to
disk has been completed so I can do my processing? Thank you.
Reply to this message...
Girish bharadwaj
See help on
FileSystemEventHandler
in C#.
--
Girish Bharadwaj
http://msmvps.com/gbvb
"Florida Development" <
Click here to reveal e-mail address
> wrote in message
news:%23226J%
Click here to reveal e-mail address
...
> I have the need to monitor a directory for the arrival of files and then
to
[Original message clipped]
Reply to this message...
Florida Coder
I have, I guess I am missing something.
"Girish bharadwaj" <
Click here to reveal e-mail address
> wrote in message
news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Girish Bharadwaj
Doh!!!!
I did not read the subject.. Sorry. Would Changed be the better event to
process after the Created.. i.e. Once Created comes in, handle the Changed
so that you can see when it first gets changed and use that to handle your
need.
No?\
"Florida Coder" <
Click here to reveal e-mail address
> wrote in message
news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
System.IO.FileSystemEventHandler
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com