Downloads specified files in current working remote directory from SSH server to local directory. Do not use this method to download a directory, see downloadDir(String) method. Downloads are stored relative to current local directory.

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

Syntax

C#
public void Mdownload(
	string remoteDir,
	string[] fileNames
)
Visual Basic
Public Sub Mdownload ( _
	remoteDir As String, _
	fileNames As String() _
)
Visual C++
public:
void Mdownload(
	String^ remoteDir, 
	array<String^>^ fileNames
)

Parameters

remoteDir
Type: System..::..String
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
fileNames
Type: array<System..::..String>[]()[][]
file names

See Also