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
The file specified in remoteFile will not be automatically enclosed in double quotes if it does not contain a space. (RN 14337)
Exceptions
- SshTransferException
localPathis 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
remoteFilestringThe file to copy.
localPathstringThe name of the local copy.
_recursiveboolValue indicating whether the copy should be recursive.
Remarks
The file specified in remoteFile will not be automatically enclosed in double quotes if it does not contain a space. (RN 14337)
Exceptions
- SshTransferException
localPathis not a directory.