Свойство | Тип | Описание | |
---|---|---|---|
OnBeginFileTransfer | void | ||
OnCommandSent | void | ||
OnEndFileTransfer | void | ||
OnFileTransferNotification | void | ||
OnFileTransferProgress | void | ||
OnResponseReceived | void |
Метод | Описание | |
---|---|---|
AbortTransfer ( ) : void |
Aborts current file transfer.
|
|
Close ( ) : void |
Closes current FTP session.
|
|
Connect ( string userName, string password ) : void |
Connects to FTP server using specified credentials.
|
|
FtpClient ( ) : System |
Constructs a new FTP session using the default settings.
|
|
FtpClient ( IContainer container ) : System |
Initializes a new instance of the FtpClient class.
|
|
FtpClient ( bool caseInsensitive ) : System |
Constructs a new FTP session using the specified settings.
|
|
SetCurrentDirectory ( string directoryPath ) : void |
Changes the current FTP session directory to the specified path.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the FtpClient object and optionally releases the managed resources.
|
Метод | Описание | |
---|---|---|
OnBeginFileTransfer ( string localFileName, string remoteFileName, TransferDirection transferDirection ) : void | ||
OnCommandSent ( string command ) : void | ||
OnEndFileTransfer ( string localFileName, string remoteFileName, TransferDirection transferDirection ) : void | ||
OnFileTransferNotification ( GSF.Net.Ftp.FtpAsyncResult transferResult ) : void | ||
OnFileTransferProgress ( ProcessProgress |
||
OnResponseReceived ( string response ) : void |
public Connect ( string userName, string password ) : void | ||
userName | string | User name used to authenticate to FTP server. |
password | string | Password used to authenticate to FTP server. |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Результат | void |
public FtpClient ( IContainer container ) : System | ||
container | IContainer | |
Результат | System |
public FtpClient ( bool caseInsensitive ) : System | ||
caseInsensitive | bool | Set to true to not be case sensitive with FTP file and directory names. |
Результат | System |
public SetCurrentDirectory ( string directoryPath ) : void | ||
directoryPath | string | New directory. |
Результат | void |