An NDoc Documented Class Library

FTPConnection.OnDownloaded Method (Byte[], String, Int64, Exception, Int64, DateTime)

Called when a file downloading operation has completed (though it may have been cancelled).

protected virtual void OnDownloaded(
   byte[] bytes,
   string remoteFile,
   long bytesTransferred,
   Exception ex,
   long currentFileSize,
   DateTime currentModTime
);

Parameters

bytes
Byte-array containing downloaded data.
remoteFile
Path of remote file.
bytesTransferred
ex
Exception thrown (if failed)
currentFileSize
currentModTime

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace | FTPConnection.OnDownloaded Overload List