C# Class GSF.Net.Ftp.FtpControlChannel

FTP control channel.
Inheritance: IDisposable
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
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

Method Details

Close() public méthode

Releases all the resources used by the FtpControlChannel object.
public Close ( ) : void
Résultat void

Command() public méthode

Send FTP command to control channel.
public Command ( string cmd ) : void
cmd string A representing the command to send.
Résultat void

Connect() public méthode

Connects the FtpControlChannel.
public Connect ( ) : void
Résultat void

Dispose() public méthode

Releases all the resources used by the FtpControlChannel object.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

RefreshResponse() public méthode

Refresh response from control channel.
public RefreshResponse ( ) : void
Résultat void