C# Класс GSF.Net.Ftp.FtpControlChannel

FTP control channel.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CDUP void
CWD void
DELE void
FtpControlChannel System
GetPassiveDataStream GSF.Net.Ftp.FtpDataStream
GetPassiveDataStream GSF.Net.Ftp.FtpDataStream
GetPassivePort int
List System.Collections.Queue
PWD string
QUIT void
REST void
RETR void
RMD void
Rename void
STOR void
Type void

Открытые методы

Метод Описание
Close ( ) : void

Releases all the resources used by the FtpControlChannel object.

Command ( string cmd ) : void

Send FTP command to control channel.

Connect ( ) : void

Connects the FtpControlChannel.

Dispose ( ) : void

Releases all the resources used by the FtpControlChannel object.

RefreshResponse ( ) : void

Refresh response from control channel.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the FtpControlChannel object and optionally releases the managed resources.

Приватные методы

Метод Описание
CDUP ( ) : void
CWD ( string path ) : void
DELE ( string fileName ) : void
FtpControlChannel ( FtpClient host ) : System
GetPassiveDataStream ( ) : GSF.Net.Ftp.FtpDataStream
GetPassiveDataStream ( TransferDirection direction ) : GSF.Net.Ftp.FtpDataStream
GetPassivePort ( ) : int
List ( bool passive ) : Queue
PWD ( ) : string
QUIT ( ) : void
REST ( long offset ) : void
RETR ( string name ) : void
RMD ( string dirName ) : void
Rename ( string oldName, string newName ) : void
STOR ( string name ) : void
Type ( TransferMode mode ) : void

Описание методов

Close() публичный Метод

Releases all the resources used by the FtpControlChannel object.
public Close ( ) : void
Результат void

Command() публичный Метод

Send FTP command to control channel.
public Command ( string cmd ) : void
cmd string A representing the command to send.
Результат void

Connect() публичный Метод

Connects the FtpControlChannel.
public Connect ( ) : void
Результат void

Dispose() публичный Метод

Releases all the resources used by the FtpControlChannel object.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases the unmanaged resources used by the FtpControlChannel object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

RefreshResponse() публичный Метод

Refresh response from control channel.
public RefreshResponse ( ) : void
Результат void