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

FTPConnectionOnUploading(String, String, WriteMode) Method

Called when a file is about to be uploaded.

Definition

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

Parameters

localPath  String
Path of local file.
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