Complete PHP FTP Reference
The ftp_rename() function renames a file or directory on the FTP server.
This function returns TRUE on success and FALSE on failure.
| Parameter | Description |
|---|---|
| ftp_connection | Required. Specifies the FTP connection to use |
| from | Required. Specifies the file or directory to rename |
| to | Required. Specifies the new name of the file or directory |
Complete PHP FTP Reference
Your message has been sent to W3Schools.