ftp_rename

(PHP 3>= 3.0.13, PHP 4 )

ftp_rename -- Renomme un fichier sur un serveur FTP

Description

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

ftp_rename() renomme le fichier ou dossier from en to, sur le serveur ftp_stream.

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.