YouTip LogoYouTip

Func Ftp Rename

# PHP ftp_rename() Function * * Complete PHP FTP Reference Manual](#) * * * ## Definition and Usage The `ftp_rename()` function renames a file or directory on an FTP server. If successful, this function returns TRUE. If it fails, it returns FALSE. ## Syntax ftp_rename(ftp_connection,from,to) | 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 for the file or directory. | * * * ## Example * * Complete PHP FTP Reference Manual](#)
← Func Ftp RmdirFunc Ftp Connect β†’