edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Upload a local file to the FTP server in the current working directory. Allows appending if current file exists.

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

Syntax

C#
[ObsoleteAttribute("Use UploadFile(string, string, WriteMode)")]
public virtual void UploadFile(
	string localPath,
	string remoteFile,
	bool append
)
Visual Basic
<ObsoleteAttribute("Use UploadFile(string, string, WriteMode)")> _
Public Overridable Sub UploadFile ( _
	localPath As String, _
	remoteFile As String, _
	append As Boolean _
)
Visual C++
[ObsoleteAttribute(L"Use UploadFile(string, string, WriteMode)")]
public:
virtual void UploadFile(
	String^ localPath, 
	String^ remoteFile, 
	bool append
)

Parameters

localPath
Type: System..::..String
Path of the local file.
remoteFile
Type: System..::..String
Name of remote file in current working directory.
append
Type: System..::..Boolean
true if appending, false otherwise.

See Also