PHP ftp_rename( ) functionThe ftp_rename() function renames a file or directory on the FTP server. This function was introduced in PHP 4. Syntax:
Return value:The ftp_rename() function returns TRUE on success or FALSE on failure. On failure, an E_WARNING error will be emitted. Example 1Output: Example 2Output: Example 3Output:
Next TopicPHP FTP
|