IFtp.RenameAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
RenameAsync(String, String, Object)
Renames a file or directory on the server.
Declaration
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 |