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

FTPConnectionOnDownloaded(Byte, String, Int64, Exception, Int64, DateTime) Method

Called when a file downloading operation has completed (though it may have been cancelled).

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
protected virtual void OnDownloaded(
	byte[] bytes,
	string remoteFile,
	long bytesTransferred,
	Exception ex,
	long remoteFileSize,
	DateTime remoteModTime
)

Parameters

bytes  Byte
Byte-array containing downloaded data.
remoteFile  String
Path of remote file.
bytesTransferred  Int64
 
ex  Exception
Exception thrown (if failed)
remoteFileSize  Int64
 
remoteModTime  DateTime
 

See Also