Downloads the specified remote file and stores as specified local file in current local directory.
Namespace: Jscape.SftpAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Download(
string localName,
string remoteName
) |
Visual Basic |
---|
Public Sub Download ( _
localName As String, _
remoteName As String _
) |
Visual C++ |
---|
public:
void Download(
String^ localName,
String^ remoteName
) |
Parameters
- localName
- Type: System..::..String
the local filename relative to current local directory
- remoteName
- Type: System..::..String
the remote filename
Exceptions
See Also