'Declaration Public Sub DownloadChunkAsync( _ ByVal localStream As System.IO.Stream, _ ByVal ftpFileName As System.String, _ ByVal offset As System.Long, _ ByVal chunkSize As System.Integer, _ ByVal customObject As System.Object _ )
'Usage Dim instance As FTP Dim localStream As System.IO.Stream Dim ftpFileName As System.String Dim offset As System.Long Dim chunkSize As System.Integer Dim customObject As System.Object instance.DownloadChunkAsync(localStream, ftpFileName, offset, chunkSize, customObject)
public void DownloadChunkAsync( System.IO.Stream localStream, System.string ftpFileName, System.long offset, System.int chunkSize, System.object customObject )
public procedure DownloadChunkAsync( localStream: System.IO.Stream; ftpFileName: System.String; offset: System.Int64; chunkSize: System.Integer; customObject: System.TObject );
public function DownloadChunkAsync( localStream : System.IO.Stream, ftpFileName : System.String, offset : System.long, chunkSize : System.int, customObject : System.Object );
public: void DownloadChunkAsync( System.IO.Stream* localStream, System.string* ftpFileName, System.long offset, System.int chunkSize, System.Object* customObject )
public: void DownloadChunkAsync( System.IO.Stream^ localStream, System.String^ ftpFileName, System.int64 offset, System.int chunkSize, System.Object^ customObject )
Parameters
- localStream
- The local stream to download the chunk
- ftpFileName
- The remote FTP File Name
- offset
- The position in the file
- chunkSize
- The size to transfer
- customObject
- Your custom object to be returned with Started, Progress, and Completed Events