An NDoc Documented Class Library |

# FTPConnection.OnDownloading Method (String, String, Int64, DateTime)

Called when a file is about to be downloaded.

protected bool OnDownloading(
ref string localPath,
string remoteFile,
out long currentFileSize,
out DateTime currentModTime
);

#### Parameters

localPath
  Path of local file.
remoteFile
  Path of remote file.
currentFileSize
currentModTime

#### Return Value

`true` if the operation is to continue.

#### See Also

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