Method From
From(string, string)
Copies the specified file from the server to the specified folder.
public void From(string remoteFile, string localPath)
Parameters
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
stringThe file to copy.
localPath
stringThe name of the local copy.
_recursive
boolValue 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.