Downloads the content of the remote directory (files and all subfolders) to the specified local directory.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
Public Sub Download ( _
	remotePath As String, _
	localPath As String _
)
C#
public void Download(
	string remotePath,
	string localPath
)

Parameters

remotePath
Type: System..::..String
The path of the remote directory.
localPath
Type: System..::..String
The path of the local directory. Doesn't have to exist (will be created).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also