Secure FTP Factory for .NET

Jscape.Ftp Namespace

Namespace hierarchy

Classes

Class Description
AS400Parser Parser responsible for handling FTP directory listing returned in AS400 format. The following is a partial example listing of the format expected.
    agonzalez   1148    07/12/06  17:15:29   *DIR    Archive/
    agonzalez   8192    01/01/70  02:00:00   *FLR    QDLS/
    agonzalez   1288    08/07/06  14:19:08   *STMF   eye.asc
    agonzalez   4096    01/01/70  02:00:00   *STMF   jaase
ConnectEnterpriseParser The parser responsible for handling FTP directory listings returned in a UNIX format.
Ftp Implements the basic functionality of a FTP client.
Ftp.AuthSslStrategy The ordinal FTP connection with following protection.
Ftp.ConnectionStrategy The connection strategy.
Ftp.DefaultStrategy The default connection strategy.
Ftp.ImplicitSSLStrategy The implicit SSL connection strategy.
Ftp.TlsStrategy The TLS connection strategy.
FtpChangeLocalDirEventArgs Contains the data of the FtpChangeLocalDirEventHandler.
FtpChangeRemoteDirEventArgs Contains the data of the FtpChangeRemoteDirEventHandler.
FtpCommandEventArgs Contains the data of the FtpCommandEventHandler.
FtpConnectEventArgs Contains the data of the FtpConnectEventHandler.
FtpConnectionLostException This exception is thrown when a connection to the FTP server is unexpectedly lost.
FtpDownloadEventArgs Contains the data of the FtpDownloadEventHandler.
FtpException FtpException is thrown by many methods of Ftp class.
FtpFile Represents an item in a directory listing retrieved from FTP server.
FtpFileFilter This is a Utility class that applies a filter to a set of FtpFile instances.
FtpFileSort Sorts a enumeration of
FtpFile
. The user have to specify a comparator instance which will be used by the sort algorithm. The sort is made by default in ascendent way, however, you can change that property. The sort can be made by file name, date or size too. To change the sorter field it is necessary to specify the corresponding comparator. The following is an example usage:
    Ftp ftp = new Ftp("ftp.myserver.com","anonymous","user@here.com");
    ftp.Connect();
    
    // Get the remote files enumeration
    IEnumerator e = ftp.GetDirListing();
    
    //Creates the sorter
    FtpFileSort sort = new FtpFileSort(e);
    
    // Ascendent way
    sort.Ascendent = true;
    
    // Sortes the enumeration data
    e = sort.Sort(FtpFileSort.Comparator.date);
FtpListingEventArgs Contains the data of the FtpListingEventHandler.
FtpProgressEventArgs Contains the data of the FtpProgressEventHandler.
FtpTimeoutException This exception is thrown when a network timeout is encountered when trying to connect or transfer a file.
Fxp Implements the functionality of a basic FXP (FTP server to FTP server transfer).
FxpEndEventArgs Contains the data of the FxpEndEventHandler.
FxpFailedEventArgs Contains the data of the FxpFailedEventHandler.
FxpStartEventArgs Contains the data of the FxpStartEventHandler.
NTParser The NTParser is responsible for handling FTP directory listings returned in a Windows NT format.
UnixParser The parser responsible for handling FTP directory listings returned in a UNIX format.
VMSParser The parser responsible for handling FTP directory listings returned in VMS format.

Delegates

Delegate Description
FtpChangeLocalDirEventHandler Represents the method that will handle the event that has FtpChangeLocalDirEventArgs.
FtpChangeRemoteDirEventHandler Represents the method that will handle the event that has FtpChangeRemoteDirEventArgs.
FtpCommandEventHandler Represents the method that will handle the event that has FtpCommandEventArgs.
FtpConnectEventHandler Represents the method that will handle the event that has FtpConnectEventArgs.
FtpDownloadEventHandler Represents the method that will handle the event that has FtpDownloadEventArgs.
FtpListingEventHandler Represents the method that will handle the event that has FtpListingEventArgs.
FtpProgressEventHandler Represents the method that will handle the event that has FtpProgressEventArgs.
FxpEndEventHandler Represents the method that will handle the event that has FxpEndEventArgs.
FxpFailedEventHandler Represents the method that will handle the event that has FxpFailedEventArgs.
FxpStartEventHandler Represents the method that will handle the event that has FxpStartEventArgs.

Enumerations

Enumeration Description
DirectoryStyles Flag to indicate which directory style listing is used.
FtpFileSort.Comparator  
ProxyTypes The type of proxy servers.
TransferModes Flag to indicate which transfer mode is used.
TransmitModes Flag to indicate which transmit mode is used.