ChangePermissions() public method

Changes permissions of file(s) to specified mode.
is null. Client is not connected. Permission to change permission on the path(s) was denied by the remote host. -or- A SSH command was denied by the server. was not found on the remote host. A SSH error where is the message from the remote host. The method was called after the client was disposed.
public ChangePermissions ( string path, short mode ) : void
path string File(s) path, may match multiple files.
mode short The mode.
return void
Example #1
0
 public override void SetFilePermissions(SyncQueueItem i, short mode)
 {
     _sftpc.ChangePermissions(i.CommonPath, mode);
 }