![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
RE: C# File monitoring
Check out the FileSystemWatcher control.
-- Ciaran O''Donnell http://wannabedeveloper.spaces.live.com "Chris Fink" wrote: > I have a requirement to monitor a folder for new files. Just looking for a > suggestion on which approach you would take on design. > > 1. Using windows services to write a .NET service that automatically looks > for new files every x mins via a timer, etc. > 2. Using task scheduled to write a .NET exe that is scheduled to run at a > set interval. > > This app will monitor a directory for new files and when found insert them > into a DB then delete them from the directory. I think either approach will > accomplish the task, just looking for opinions and/or other suggestions to > approach this simple task. > > Thanks > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|