FileTransferClient.RenameAsync Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9119)
RenameAsync(String, String, Object)
Renames a file or directory on the server.
Declaration
public Task RenameAsync(string fromPath, string toPath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | fromPath | The pathname of the remote file to be renamed. |
String | toPath | The pathname to rename the file to. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |