SSH Factory for .NET

Scp.Mdownload Method (String, String)

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*".
public void Mdownload(
   string remoteDir,
   string filter
);

Parameters

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

See Also

Scp Class | Jscape.Scp Namespace | Scp.Mdownload Overload List