Sftp.Rename Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
Rename(String, String)
Renames or moves a file or directory on the server.
Declaration
public void Rename(string fromPath, string toPath)
Parameters
Type | Name | Description |
---|---|---|
String | fromPath | The pathname of the remote file or directory to be renamed. |
String | toPath | The pathname to rename the file or directory to. |