C# Class ftpClient.Operations.DownloadOperation

Inheritance: OperationBase
Show file Open project: ERNICommunity/TLAoP Class Usage Examples

Public Methods

Method Description
DownloadOperation ( DirectoryInfo workingDirectory, string remoteName, string localName = null ) : System
Finish ( ) : void
Init ( ControlChannel controlClient, TransferMode mode ) : bool
Process ( ControlChannel controlClient ) : System.Threading.Tasks.Task

Protected Methods

Method Description
ParseData ( byte data, int dataSize ) : void

Method Details

DownloadOperation() public method

public DownloadOperation ( DirectoryInfo workingDirectory, string remoteName, string localName = null ) : System
workingDirectory System.IO.DirectoryInfo
remoteName string
localName string
return System

Finish() public method

public Finish ( ) : void
return void

Init() public method

public Init ( ControlChannel controlClient, TransferMode mode ) : bool
controlClient ControlChannel
mode TransferMode
return bool

ParseData() protected method

protected ParseData ( byte data, int dataSize ) : void
data byte
dataSize int
return void

Process() public method

public Process ( ControlChannel controlClient ) : System.Threading.Tasks.Task
controlClient ControlChannel
return System.Threading.Tasks.Task