The FtpClient class provides high level functionality including uploading and downloading files, remote directory commands and more. Typically, the FtpClient class is what you would use in your application.
The FtpClientComponent class wraps the FtpClient as a .NET component to expose the most commonly used properties and events at both design and run time.
Also available is the FailSafeTransfer class for performing uploads and downloads with inbuilt automatic error recovery.
The low level classes for managing the command connection, FtpCommandConnection, and the data connections FtpDataConnection, as well as the wrapper classes for FTP commands and responses, and various helper classes are also exposed. You would use these classes instead of FtpClient if you need greater control.
The FtpWebRequestCreator, FtpWebRequest and FtpWebResponse classes expose the FTP functionality using the Microsoft pluggable protocols architecture. These classes provide generic web access to an FTP server but aren't as feature rich as FtpClient.
| Class | Description |
|---|---|
| CommandTracedEventArgs | Provides data for the event. |
| DataTransferredEventArgs | Provides data for the event. |
| DirectoryListItem | The base class for FTP remote directory list items. |
| DirectoryListParser | Parse remote directory lists - either Unix style or MS-DOS. |
| FailSafeTransfer | Performs failsafe file transfers. |
| FailSafeTransferEventArgs | Provides data for the event. |
| FtpClient | Sends FTP requests and receives FTP responses using the File Transfer Protocol (RFC-959). |
| FtpClientComponent | Wraps the FtpClient as a .NET component to expose the most commonly used properties and events at both design and run time. |
| FtpCommandConnection | Sends FTP commands and receives FTP replies. |
| FtpDataConnection | Sends and receives FTP data. |
| FtpException | The exception that is thrown when an FTP operation fails. |
| FtpOperationCompletedEventArgs | Provides data for the event. |
| FtpWebRequest | Represents an FTP web request in the Microsoft pluggable protocols architecture. |
| FtpWebRequestCreator | Factory class for the FTP web request in the Microsoft pluggable protocols architecture. |
| FtpWebResponse | Represents an FTP web request in the Microsoft pluggable protocols architecture. |
| ListLineAvailableEventArgs | Provides data for the event. |
| MSDOSDirectoryListItem | An MS-DOS directory list items. |
| MultiFile | Provides methods for manipulating multiple files. |
| MultiFileEventArgs | Provides data for the event. |
| RemoteDirectory | Performs remote directory related commands. |
| RemoteFile | Performs remote file related commands. |
| UnixDirectoryListItem | A Unix directory list items. |
| Interface | Description |
|---|---|
| IFileFilter | Provides a filter for determining which files to upload or download during a multi-file operation. |
| Delegate | Description |
|---|---|
| CommandTracedEventHandler | Represents the method that will handle FTP command traced events. |
| DataTransferredEventHandler | Represents the method that will handle FTP data transferred events. |
| FailSafeTransferEventHandler | Represents the method that will handle failsafe transfer events. |
| FtpOperationCompletedEventHandler | Represents the method that will handle FTP operation completion events. |
| ListLineAvailableEventHandler | Represents the method that will handle list line available events. |
| MultiFileEventHandler | Represents the method that will handle multi file events. |
| Enumeration | Description |
|---|---|
| CommandTraceEntryType | The command trace entry type. |
| DataConnectionType | The data connection type. |
| DirectoryListItemType | The directory list item types. |
| TransferMode | The transfer mode type. |