edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionOnDownloading Method (Stream, String, Int64, Int64, DateTime)

Called when a file is about to be downloaded.

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
protected bool OnDownloading(
	Stream destStream,
	string remoteFile,
	long bytesDownloaded,
	out long remoteFileSize,
	out DateTime remoteModTime
)

Parameters

destStream
Type: System.IOStream
Stream to which data will be written.
remoteFile
Type: SystemString
Path of remote file.
bytesDownloaded
Type: SystemInt64
remoteFileSize
Type: SystemInt64
remoteModTime
Type: SystemDateTime

Return Value

Type: Boolean
true if the operation is to continue.
See Also