edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPConnectionOnUploading(Stream, String, Boolean, Int64) Method

Called when a stream is about to be uploaded.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
protected bool OnUploading(
	Stream srcStream,
	ref string remoteFile,
	ref bool append,
	out long localFileSize
)

Parameters

srcStream  Stream
Stream to upload.
remoteFile  String
Path of remote file.
append  Boolean
Flag indicating whether or not the remote file is being appended to.
localFileSize  Int64
 

Return Value

Boolean
true if the operation is to continue.

See Also