Click or drag to resize

ScpClientDownload(String, FileInfo) Method

Downloads the specified file from the remote host to local file.

Namespace: Crestron.SimplSharp.Ssh
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public void Download(
	string filename,
	FileInfo fileInfo
)

Parameters

filename  String
Remote host file name.
fileInfo  FileInfo
Local file information.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileInfo or filename is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also