ftp_rename

(PHP 3>= 3.0.13, PHP 4 >= 4.0.0)

ftp_rename -- Renames a file on the ftp server.

Description

boolean ftp_rename (resource ftp_stream, string from, string to)

Returns TRUE on success, FALSE on error.

ftp_rename() renames the file or directory currently named from to the new name to, on the FTP stream ftp_stream.