FTPConnectionUploadFile(String, String, WriteMode) Method
Upload a local file to the FTP server in the current working directory. Allows appending
if current file exists.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public virtual void UploadFile(
string localPath,
string remoteFile,
WriteMode writeMode
)
Public Overridable Sub UploadFile (
localPath As String,
remoteFile As String,
writeMode As WriteMode
)
public:
virtual void UploadFile(
String^ localPath,
String^ remoteFile,
WriteMode writeMode
)
abstract UploadFile :
localPath : string *
remoteFile : string *
writeMode : WriteMode -> unit
override UploadFile :
localPath : string *
remoteFile : string *
writeMode : WriteMode -> unit
Parameters
- localPath String
- Path of the local file.
- remoteFile String
- Name of remote file in current working directory.
- writeMode WriteMode
- Overwrite, Append or Resume.