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

FTPConnectionOnUploaded(Byte, String, Int64, WriteMode, Exception) Method

Called when a file uploading operation has completed (though it may have been cancelled).

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
protected virtual void OnUploaded(
	byte[] bytes,
	string remoteFile,
	long bytesTransferred,
	WriteMode writeMode,
	Exception ex
)

Parameters

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

See Also