.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Uses Of FileSystemWatcher

Posted By: Naveen.Bandla     Posted Date: April 10, 2011    Points: 0   Category :ASP.Net
The article Uses Of FileSystemWatcher was added by Naveen.Bandla on Saturday, February 26, 2011.

The FileSystemWatcher is responsible for to track the updates of either file or folder/sub-folders, Suppose if I would like to continuously monitor a folder , something like what are the newly added files or something like what are deleted files or which

View Complete Post

More Related Resource Links

fileSystemWatcher has to wait until file is fully written


I'm using a fileSystemWatcher to poll a certain folder for new files. The files placed in this folder need to get changed and placed in another folder. Sometimes the file isn't writte completely causing an error:

The process cannot access the file 'C:\\sharpspool\\input.jt' because it is being used by another process.

Is it possible to raise the fileSystemWatcher event only when the file is fully written and not in use by any other application?

Thanks for the help!


FileSystemWatcher & MVFS

Hi i am trying to use the FileSystemWatcher to monitor file in a ClearCase view (MVFS fileSystem) . for some reason no events fired when files in the view are changed.could anyone think of a reason why?
c#/c++ developer

Multiple FileSystemWatcher


Hi, I wrote a Windows Service program that monitors two separate folders at the same time.  Each folder is watched by a FileSystemWatcher. This program is single threaded.  I need to confirm that this design works, and that it will not require a multi-threaded program to handle such scenario.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend