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: 9.4.0.40
Syntax
C# |
---|
public virtual void UploadFile( string localPath, string remoteFile, WriteMode writeMode ) |
Visual Basic |
---|
Public Overridable Sub UploadFile ( _ localPath As String, _ remoteFile As String, _ writeMode As WriteMode _ ) |
Visual C++ |
---|
public: virtual void UploadFile( String^ localPath, String^ remoteFile, WriteMode writeMode ) |
Parameters
- localPath
- Type: System..::..String
Path of the local file.
- remoteFile
- Type: System..::..String
Name of remote file in current working directory.
- writeMode
- Type: EnterpriseDT.Net.Ftp..::..WriteMode
Overwrite, Append or Resume.