Upload a local file to the FTP server in the current working directory. Allows appending if current file exists.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public virtual void UploadFile(
	string localPath,
	string remoteFile,
	bool append
)
Visual Basic
Public Overridable Sub UploadFile ( _
	localPath As String, _
	remoteFile As String, _
	append As Boolean _
)
Visual C++
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