edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Called when a file is about to be downloaded.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
protected bool OnDownloading(
	ref string localPath,
	string remoteFile,
	ref bool resume,
	out long remoteFileSize,
	out DateTime remoteModTime
)
Visual Basic
Protected Function OnDownloading ( _
	ByRef localPath As String, _
	remoteFile As String, _
	ByRef resume As Boolean, _
	<OutAttribute> ByRef remoteFileSize As Long, _
	<OutAttribute> ByRef remoteModTime As DateTime _
) As Boolean
Visual C++
protected:
bool OnDownloading(
	String^% localPath, 
	String^ remoteFile, 
	bool% resume, 
	[OutAttribute] long long% remoteFileSize, 
	[OutAttribute] DateTime% remoteModTime
)

Parameters

localPath
Type: System..::..String%
Path of local file.
remoteFile
Type: System..::..String
Path of remote file.
resume
Type: System..::..Boolean%
remoteFileSize
Type: System..::..Int64%
remoteModTime
Type: System..::..DateTime%

Return Value

true if the operation is to continue.

See Also