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(
	Stream destStream,
	string remoteFile,
	long bytesDownloaded,
	out long remoteFileSize,
	out DateTime remoteModTime
)
Visual Basic
Protected Function OnDownloading ( _
	destStream As Stream, _
	remoteFile As String, _
	bytesDownloaded As Long, _
	<OutAttribute> ByRef remoteFileSize As Long, _
	<OutAttribute> ByRef remoteModTime As DateTime _
) As Boolean
Visual C++
protected:
bool OnDownloading(
	Stream^ destStream, 
	String^ remoteFile, 
	long long bytesDownloaded, 
	[OutAttribute] long long% remoteFileSize, 
	[OutAttribute] DateTime% remoteModTime
)

Parameters

destStream
Type: System.IO..::..Stream
Stream to which data will be written.
remoteFile
Type: System..::..String
Path of remote file.
bytesDownloaded
Type: System..::..Int64
remoteFileSize
Type: System..::..Int64%
remoteModTime
Type: System..::..DateTime%

Return Value

true if the operation is to continue.

See Also