edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

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

Called when a file is about to be downloaded.

Definition

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

Parameters

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

Return Value

Boolean
true if the operation is to continue.

See Also