Uploads the specified file.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Upload( string localName, string remoteName ) |
Visual Basic |
---|
Public Sub Upload ( _ localName As String, _ remoteName As String _ ) |
Visual C++ |
---|
public: void Upload( String^ localName, String^ remoteName ) |
Parameters
- localName
- Type: System..::..String
the local filename
- remoteName
- Type: System..::..String
the remote filename
Exceptions
Exception | Condition |
---|---|
Jscape.Sftp..::..SftpException | if an error occurs |