edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Raises events when files in the current remote directory are created, changed or deleted.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public class FTPFileSystemWatcher : Component, 
	IFTPComponent
Visual Basic
Public Class FTPFileSystemWatcher _
	Inherits Component _
	Implements IFTPComponent
Visual C++
public ref class FTPFileSystemWatcher : public Component, 
	IFTPComponent

Remarks

FTPFileSystemWatcher listens to FTPConnection events and (optionally) polls the FTP server every [!:RefreshPeriodSecs] to detect changes.

Three events are provided for notification of changes on the remote file:

EventTriggered when FTPFileSystemWatcher detects that..
Created...a file has been created on the server.
Changed...a file has been created on or uploaded to the server.
Deleted...a file has been deleted on the server.

Inheritance Hierarchy

System..::..Object
  System..::..MarshalByRefObject
    System.ComponentModel..::..Component
      EnterpriseDT.Net.Ftp..::..FTPFileSystemWatcher

See Also