An NDoc Documented Class Library |

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

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

protected virtual void OnDownloaded(
string localPath,
string remoteFile,
long bytesTransferred,
Exception ex,
long currentFileSize,
DateTime currentModTime
);

#### Parameters

localPath
  Path of local file.
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