I want to monitor a directory and FTP any files that are place there to an FTP location. does anyone know how to do this in c#?
Thanks
EDIT: Anyone know of a good client that can monitor a directory and FTP and files placed in it?
I want to monitor a directory and FTP any files that are place there to an FTP location. does anyone know how to do this in c#?
Thanks
EDIT: Anyone know of a good client that can monitor a directory and FTP and files placed in it?
When used in conjunction with the FileSystemWatcher, this code is a quick and dirty way to upload a file to a server.
I combination of the
System.IO.FileSystemWatcher
andSystem.Net.FtpWebRequest
/FtpWebResponse
classes.We need more information to be more specific.