Downloads the specified files and/or directories from the SFTP server to the local directory.

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

Syntax

Visual Basic
Public Sub Download ( _
	set As FileSet, _
	localDirectoryPath As String _
)
C#
public void Download(
	FileSet set,
	string localDirectoryPath
)

Parameters

set
Type: Rebex.IO..::..FileSet
A filtering set which specifies remote files and directories to be downloaded.
localDirectoryPath
Type: System..::..String
The path of the local directory. This must be a directory.

Implements

IFtp..::..Download(FileSet, String)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also