dgburton Posted December 16, 2002 Posted December 16, 2002 Hi, Could anyone help me with the following: I want to create a windows service application that sits in the background and monitors 2 or 3 IIS FTP sites (IIS is running on the same machine that this program will be running on) for upload activity, when files are uploaded to the FTP user accounts the windows service application should move the files to a seperate directory (c:\location1, c:\location2 etc). I'd appretiate any help people can give - it's got me completely stumped :) Kind Regards, dan Quote
*Gurus* divil Posted December 16, 2002 *Gurus* Posted December 16, 2002 Is there a specific area you're having a problem with? The key to doing this will be the FileSystemWatcher class. It can tell you when the files are created, and (I think) you'll be able to use it to tell when the files are closed by the ftp server. At that point you can move them. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
dgburton Posted December 16, 2002 Author Posted December 16, 2002 thanks divil - will look into it :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.