Ftp.RenameAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9313)
RenameAsync(String, String, Object)
Begins asynchronous Rename operation. Renames or moves 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 or directory to be renamed. |
| String | toPath | The pathname to rename the file or directory to. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task |
Implements
Remarks
Represents FTP RNFR/RNTO command pair.