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

FTPConnectionUploadFile(String, String, WriteMode) 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: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void UploadFile(
	string localPath,
	string remoteFile,
	WriteMode writeMode
)

Parameters

localPath  String
Path of the local file.
remoteFile  String
Name of remote file in current working directory.
writeMode  WriteMode
Overwrite, Append or Resume.

See Also