Put a local file onto the SFTP server in the current directory.
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public virtual void Put( string localPath, string remoteFile ) |
| Visual Basic |
|---|
Public Overridable Sub Put ( _ localPath As String, _ remoteFile As String _ ) |
| Visual C++ |
|---|
public: virtual void Put( String^ localPath, String^ remoteFile ) |
Parameters
- localPath
- Type: System..::..String
Path of the local file.
- remoteFile
- Type: System..::..String
Name of remote file in current directory.