edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Called when a file downloading operation has completed (though it may have been cancelled).

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

Syntax

C#
protected virtual void OnDownloaded(
	Stream destStream,
	string remoteFile,
	long bytesTransferred,
	Exception ex,
	long remoteFileSize,
	DateTime remoteModTime
)
Visual Basic
Protected Overridable Sub OnDownloaded ( _
	destStream As Stream, _
	remoteFile As String, _
	bytesTransferred As Long, _
	ex As Exception, _
	remoteFileSize As Long, _
	remoteModTime As DateTime _
)
Visual C++
protected:
virtual void OnDownloaded(
	Stream^ destStream, 
	String^ remoteFile, 
	long long bytesTransferred, 
	Exception^ ex, 
	long long remoteFileSize, 
	DateTime remoteModTime
)

Parameters

destStream
Type: System.IO..::..Stream
Stream to which data will be written.
remoteFile
Type: System..::..String
Path of remote file.
bytesTransferred
Type: System..::..Int64
ex
Type: System..::..Exception
Exception thrown (if failed)
remoteFileSize
Type: System..::..Int64
remoteModTime
Type: System..::..DateTime

See Also