Click or drag to resize

ScpClientUpload(FileInfo, String) Method

Uploads the specified file to the remote host.

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

Parameters

fileInfo  FileInfo
The file system info.
path  String
The path.
Exceptions
ExceptionCondition
ArgumentNullExceptionfileSystemInfo
ArgumentExceptionpath
NotSupportedException
ArgumentNullExceptionfileInfo or path is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also