An NDoc Documented Class Library |

# FTPConnection.OnDownloaded Method (Stream, String, Int64, Exception, Int64, DateTime)

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

protected virtual void OnDownloaded(
Stream destStream,
string remoteFile,
long bytesTransferred,
Exception ex,
long remoteFileSize,
DateTime remoteModTime
);

#### Parameters

destStream
  Stream to which data will be written.
remoteFile
  Path of remote file.
bytesTransferred
ex
  Exception thrown (if failed)
remoteFileSize
remoteModTime

#### See Also

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