Downloads multiple files matching filter from SSH server's directory. Downloads are stored relative to current local directory. Valid filters may indicate that a file name ends with a or starts with a given string.

For example to download all files ending with the extension * .txt use the filter "*.txt". To download all files in the remote directory use the filter "*". To download all files that start with the string "file" use the filter "file*".

Namespace: Jscape.Scp
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public void Mdownload(
	string remoteDir,
	string filter
)
Visual Basic
Public Sub Mdownload ( _
	remoteDir As String, _
	filter As String _
)
Visual C++
public:
void Mdownload(
	String^ remoteDir, 
	String^ filter
)

Parameters

remoteDir
Type: System..::..String
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
filter
Type: System..::..String
filter expression

See Also