edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Called when a byte-array is about to be uploaded.

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

Syntax

C#
protected bool OnUploading(
	byte[] bytes,
	ref string remoteFile,
	ref bool append
)
Visual Basic
Protected Function OnUploading ( _
	bytes As Byte(), _
	ByRef remoteFile As String, _
	ByRef append As Boolean _
) As Boolean
Visual C++
protected:
bool OnUploading(
	array<unsigned char>^ bytes, 
	String^% remoteFile, 
	bool% append
)

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
Byte-array to upload.
remoteFile
Type: System..::..String%
Path of remote file.
append
Type: System..::..Boolean%
Flag indicating whether or not the remote file is being appended to.

Return Value

true if the operation is to continue.

See Also