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

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

Syntax

C#
protected bool OnUploading(
	string localPath,
	ref string remoteFile,
	ref WriteMode writeMode
)
Visual Basic
Protected Function OnUploading ( _
	localPath As String, _
	ByRef remoteFile As String, _
	ByRef writeMode As WriteMode _
) As Boolean
Visual C++
protected:
bool OnUploading(
	String^ localPath, 
	String^% remoteFile, 
	WriteMode% writeMode
)

Parameters

localPath
Type: System..::..String
Path of local file.
remoteFile
Type: System..::..String%
Path of remote file.
writeMode
Type: EnterpriseDT.Net.Ftp..::..WriteMode%
Write-mode of the transfer (i.e. overwrite, append or resume).

Return Value

true if the operation is to continue.

See Also