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
Syntaxprotected bool OnDownloading(
Stream destStream,
string remoteFile,
long bytesDownloaded,
out long remoteFileSize,
out DateTime remoteModTime
)
Protected Function OnDownloading (
destStream As Stream,
remoteFile As String,
bytesDownloaded As Long,
<OutAttribute> ByRef remoteFileSize As Long,
<OutAttribute> ByRef remoteModTime As DateTime
) As Boolean
protected:
bool OnDownloading(
Stream^ destStream,
String^ remoteFile,
long long bytesDownloaded,
[OutAttribute] long long% remoteFileSize,
[OutAttribute] DateTime% remoteModTime
)
member OnDownloading :
destStream : Stream *
remoteFile : string *
bytesDownloaded : int64 *
remoteFileSize : int64 byref *
remoteModTime : DateTime byref -> bool
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:
Booleantrue if the operation is to continue.
See Also