edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

How to monitor a server

It is often useful to be able to monitor a file server to determine if there have been any changes. This can be done via the FTPFileSystemWatcher class. This class is analogous to Microsoft's FileSystemWatcher class, except that it can regularly poll a server to find out what changes have been made on the remote filesystem.

Typically, the FTPFileSystemWatcher is placed on a Windows form at design time together with an instance of SecureFTPConnection. The watcher will then trigger the appropriate event whenever it detects that a file has been created, modified or deleted from the remote server by its connection instance. It can also optionally poll the server to detect changes by other parties.