Ftp.Rename Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9313)
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. |
Implements
Remarks
Represents FTP RNFR/RNTO command pair.