edtFTPnet/Free - Open-source FTP component for .NET | Download

FTPConnectionUploadFile(String, String, Boolean) Method

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

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public virtual void UploadFile(
	string localPath,
	string remoteFile,
	bool append
)

Parameters

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

See Also