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

FTPConnectionOnUploading(Byte, String, WriteMode) Method

Called when a byte-array is about to be uploaded.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
protected bool OnUploading(
	byte[] bytes,
	ref string remoteFile,
	ref WriteMode writeMode
)

Parameters

bytes  Byte
Byte-array to upload.
remoteFile  String
Path of remote file.
writeMode  WriteMode
Write-mode of the transfer (i.e. overwrite, append or resume).

Return Value

Boolean
true if the operation is to continue.

See Also