Downloads the remote file to the local file, overriding it if it already exists.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Function GetFile ( _ remotePath As String, _ localPath As String _ ) As Long |
C# |
---|
public long GetFile( string remotePath, string localPath ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file.
- localPath
- Type: System..::..String
The path of the local file. This cannot be a directory.