Table of Contents

Method From

Namespace
Tamir.SharpSsh
Assembly
SLSSH.dll

From(string, string)

Copies the specified file from the server to the specified folder.

public void From(string remoteFile, string localPath)

Parameters

remoteFile string

The file to copy.

localPath string

The name of the local copy.

Remarks

From DataMiner 9.0.4 (RN 14337) onwards, the file specified in remoteFile is no longer automatically enclosed in double quotes if it does not contain a space.

Exceptions

SshTransferException

localPath is not a directory.

From(string, string, bool)

Copies the specified file from the server to the specified folder.

public void From(string remoteFile, string localPath, bool _recursive)

Parameters

remoteFile string

The file to copy.

localPath string

The name of the local copy.

_recursive bool

Value indicating whether the copy should be recursive.

Remarks

From DataMiner 9.0.4 (RN 14337) onwards, the file specified in remoteFile is no longer automatically enclosed in double quotes if it does not contain a space.

Exceptions

SshTransferException

localPath is not a directory.