C# Class GSF.Net.Ftp.FtpControlChannel

FTP control channel.
Inheritance: IDisposable
Show file Open project: GridProtectionAlliance/gsf Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

Private Methods

Method 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 method

Releases all the resources used by the FtpControlChannel object.
public Close ( ) : void
return void

Command() public method

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

Connect() public method

Connects the FtpControlChannel.
public Connect ( ) : void
return void

Dispose() public method

Releases all the resources used by the FtpControlChannel object.
public Dispose ( ) : void
return void

Dispose() protected method

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.
return void

RefreshResponse() public method

Refresh response from control channel.
public RefreshResponse ( ) : void
return void