Uploads file to SSH server.
Namespace: Jscape.ScpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Upload(
string remoteDir,
string filename
) |
Visual Basic |
---|
Public Sub Upload ( _
remoteDir As String, _
filename As String _
) |
Visual C++ |
---|
public:
void Upload(
String^ remoteDir,
String^ filename
) |
Parameters
- remoteDir
- Type: System..::..String
remote directory path with ending path separator (i.e "/user/home/")
or empty line for current directory
- filename
- Type: System..::..String
file name to upload
See Also