Downloads the file from SSH server.
Namespace: Jscape.ScpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public FileInfo Download(
string remoteDir,
string remoteFile
) |
Visual Basic |
---|
Public Function Download ( _
remoteDir As String, _
remoteFile As String _
) As FileInfo |
Visual C++ |
---|
public:
FileInfo^ Download(
String^ remoteDir,
String^ remoteFile
) |
Parameters
- remoteDir
- Type: System..::..String
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
- remoteFile
- Type: System..::..String
the remote file to download
Return Value
the file downloaded
See Also