.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification