vb.net service monitoring IIS ftp sites

dgburton

Member
Joined
Sep 13, 2002
Messages
16
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).

Id appretiate any help people can give - its got me completely stumped :)

Kind Regards,

dan
 
Is there a specific area youre 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) youll be able to use it to tell when the files are closed by the ftp server. At that point you can move them.
 
Back
Top