System.Net.FtpClient Namespace

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
A set of classes to ease interactions with FTP servers.

Classes

  Class Description
Public class FtpClient
FTP Control Connection. Speaks the FTP protocol with the server and provides facilities for performing basic transactions. Debugging problems with FTP transactions is much easier to do when you can see exactly what is sent to the server and the reply System.Net.FtpClient gets in return. Please review the Debug example below for information on how to add TraceListeners for capturing the convorsation between System.Net.FtpClient and the server.
Public class FtpCommandException
Exception triggered on command failures
Public class FtpException
FTP related error
Public class FtpExtensions
Extension methods related to FTP tasks
Public class FtpHash
Represents a computed hash of an object on the FTP server. See the following link for more information: http://tools.ietf.org/html/draft-bryan-ftpext-hash-02
Public class FtpListItem
Represents a file system object on the server
Public class FtpSecurityNotAvailableException
Exception is thrown when encryption could not be negotiated by the server
Public class FtpSslValidationEventArgs
Event args for the FtpSslValidationError delegate
Public class FtpTrace
Used for transaction logging and debug information.

Structures

  Structure Description
Public structure FtpReply
Represents a reply to an event on the server

Interfaces

  Interface Description
Public interface IFtpClient
This interfaces was added for users using the MoQ framework for unit testing.
Public interface IFtpListItem
Added for the MoQ unit testing framework
Public interface IFtpReply
Added for the MoQ unit testing framework

Delegates

  Delegate Description
Public delegate FtpListItem..::..Parser
Ftp listing line parser
Public delegate FtpSslValidation
Event is fired when a ssl certificate needs to be validated

Enumerations

  Enumeration Description
Public enumeration FtpCapability
Server features
Public enumeration FtpDataConnectionType
Data connection type
Public enumeration FtpDataType
Type of data transfer to do
Public enumeration FtpEncryptionMode
Defines the type of encryption to use
Public enumeration FtpFileSystemObjectType
Type of file system of object
Public enumeration FtpHashAlgorithm
Different types of hashing algorithms for computing checksums.
Public enumeration FtpIpVersion
IP Versions to allow when connecting to a server.
Public enumeration FtpListOption
Flags that can dicate how a file listing is performed
Public enumeration FtpPermission
Types of file permissions
Public enumeration FtpResponseType
The type of response the server responded with
Public enumeration FtpSpecialPermissions
Types of special UNIX permissions