C# Class ftpClient.ControlChannel

Show file Open project: ERNICommunity/TLAoP Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Init ( string host, string login, string password ) : bool
SendCommand ( string command, string &response ) : int
SendCommandDeferred ( string command ) : string>>.Task

Private Methods

Method Description
ControlChannelResponse ( ) : Task
ReadResponse ( byte dataBuffer, int dataSize, int &dataOffset ) : string

Method Details

Close() public method

public Close ( ) : void
return void

Init() public method

public Init ( string host, string login, string password ) : bool
host string
login string
password string
return bool

SendCommand() public method

public SendCommand ( string command, string &response ) : int
command string
response string
return int

SendCommandDeferred() public method

public SendCommandDeferred ( string command ) : string>>.Task
command string
return string>>.Task