Syntax
| C# |
|---|
namespace Starksoft.Net.Ftp |
| Visual Basic (Declaration) |
|---|
Namespace Starksoft.Net.Ftp |
Classes
| Class | Description | |
|---|---|---|
![]() | ConnectionClosedEventArgs |
Event arguments to facilitate the response event from the FTP server.
|
![]() | FtpAsynchronousOperationException |
This exception is thrown when an asynchronous operation fails or is cancelled.
|
![]() | FtpAuthenticationException |
This exception is thrown when an error occurs during the FTP authentication process.
|
![]() | FtpBase |
Base abstract class for FtpClient. Implements FTP network protocols.
|
![]() | FtpCertificateValidationException |
This exception is thrown when an X.509 certificate fails validation when establishing a secure command or data connection
to the FTP server.
|
![]() | FtpClient |
The FtpClient Component for .NET is a fully .NET coded RFC 959 compatible FTP object component that supports the RFC 959, SOCKS and HTTP proxies, SSLv2, SSLv3, and TLSv1
as well as automatic file integrity checks on all data transfers.
The component library also supports a pluggable directory listing parser. The Starksoft FtpClient Component for .NET support most FTP servers.
|
![]() | FtpCommandResponseTimeoutException |
This exception is thrown when the server fails to respond to an FTP command in a timely manner.
The waiting time can be adjusted by specifing a different value for the CommandTimeout property.
|
![]() | FtpConnectionBrokenException |
This exception is thrown when a ftp connection is broken and fails.
|
![]() | FtpConnectionClosedException |
This exception is thrown when an error occurs during the FTP connection is closed while attempting to transmit data.
|
![]() | FtpConnectionOpenException |
This exception is thrown when an error occurs while attempt to open a command connection
to the FTP server.
|
![]() | FtpDataCompressionException |
This exception is thrown when the FTP server is unable to enable or disable data compression.
|
![]() | FtpDataConnectionException |
This exception is thrown when the FTP client is unable to establish a data connection with the FTP server.
Data connection are temporary, secondary connnections used to transfer files and other types of data between the
FTP client and the FTP server. The method in which data connections are established is determined by the type
of data transfer mode specified when connection to an FTP server (e.g. Passive, Active)
|
![]() | FtpDataConnectionTimeoutException |
This exception is thrown when the server fails to respond to an FTP data connection in a timely manner.
The waiting time can be adjusted by specifing a different value for the TransferTimeout property.
|
![]() | FtpDataTransferException |
This exception is thrown when a data transfer fails.
|
![]() | FtpException |
This exception is thrown when a general FTP exception occurs.
|
![]() | FtpFileIntegrityException |
This exception is thrown when a file integrity check fails.
|
![]() | FtpGenericParser |
Generic ftp file and directory listing parser that supports most Unix, Dos, and Windows style FTP
directory listings. A custom parser can be created using the IFtpItemParser interface in the event
this parser does not suit the needs of a specific FTP server directory format listing.
|
![]() | FtpItem |
The FtpItem class represents the file and directory listing items as reported by the FTP server.
|
![]() | FtpItemCollection |
Ftp item list.
|
![]() | FtpLoginException |
This exception is thrown when an error occurs during the FTP login process.
|
![]() | FtpProxyException |
This exception is thrown when an exception occurs while opening a connection to the FTP
server using a proxy. See the inner exception for more information when this exception is thrown.
|
![]() | FtpRequest |
FTP request object which contains the command, arguments and text or an FTP request.
|
![]() | FtpRequestEventArgs |
Event arguments to facilitate the FtpClient request event.
|
![]() | FtpResponse |
FTP response class containing the FTP raw text, response code, and other information.
|
![]() | FtpResponseCollection |
Ftp response collection.
|
![]() | FtpResponseEventArgs |
Event arguments to facilitate the response event from the FTP server.
|
![]() | FtpResponseException |
This exception is thrown when a file integrity check fails.
For detailed information about the error, the FTP server response
can be inspected via the Reponse property on this exception.
|
![]() | FtpSecureConnectionException |
This exception is thrown when an error occurs with a secure command or data connection to the FTP server.
|
![]() | FxpCopyAsyncCompletedEventArgs |
Provides data for the OpenAsyncCompleted event.
|
![]() | GetDirListAsyncCompletedEventArgs |
Provides data for the GetDirListAsyncCompleted event.
|
![]() | GetDirListDeepAsyncCompletedEventArgs |
Provides data for the GetDirAsyncCompleted event.
|
![]() | GetFileAsyncCompletedEventArgs |
Provides data for the GetFileAsyncCompleted event.
|
![]() | OpenAsyncCompletedEventArgs |
Provides data for the OpenAsyncCompleted event.
|
![]() | PutFileAsyncCompletedEventArgs |
Provides data for the PutFileAsyncCompleted event.
|
![]() | TransferCompleteEventArgs |
Event arguments to facilitate the transfer complete event.
|
![]() | TransferProgressEventArgs |
Event arguments to facilitate the transfer progress event.
|
![]() | ValidateServerCertificateEventArgs |
Event arguments to facilitate the FtpClient transfer progress and complete events.
|
Interfaces
| Interface | Description | |
|---|---|---|
![]() | IFtpItemParser | This interface is used to create a pluggable, custom ftp item parser. The FtpClient object has a property named ItemParser which is used to override the default item parser behavior. You might need to create a custom parser for exotic FTP servers which the FtpClient object does not support. There is no standard supported in the RFC 959 standard as to what format an FTP server must give for directory and file listings. Although newer FTP protocol standards so support a structured directory listing with detailed information, this new format is not widely supported amoung FTP server vendors and there is no hope for support for legacy FTP servers. The FtpClient object can handle the most common formats without issue but for some older or more exotic FTP servers you may such as an MVS legacy system may use a very different format than the common Unix and DOS style format. In this situation, it makes the most sense to create your own ftp item parser to parse the unique directory and file listing. |
Enumerations
| Enumeration | Description | |
|---|---|---|
![]() | FileAction |
Enumeration representing the three types of actions that FTP supports when
uploading or 'putting' a file on an FTP server from the FTP client.
|
![]() | FtpCmd |
FTP server commands.
|
![]() | FtpItemType |
The itemType of item as reported by the FTP server.
|
![]() | FtpResponseCode |
Enumeration representing all the various response codes from a FTP server.
|
![]() | FtpSecurityProtocol |
Defines the possible versions of FtpSecurityProtocol.
|
![]() | HashingFunction |
Enumeration representing the type of integrity algorithm used to verify the integrity of the file after transfer and storage.
|
![]() | TransferMode |
The type of data transfer mode (e.g. Active or Passive).
|
![]() | TransferType |
Enumeration representing type of file transfer mode.
|











