Sftp |
public void RenameFile( string oldPath, string newPath )
| Exception | Condition |
|---|---|
| ArgumentNullException | oldPath is null. -or- or newPath is null. |
| SshConnectionException | Client is not connected. |
| SftpPermissionDeniedException | Permission to rename the file was denied by the remote host. -or- A SSH command was denied by the server. |
| SshException | A SSH error where Message is the message from the remote host. |