ftp_rename

(PHP 3 = 3.0.13, PHP 4 )

ftp_rename -- ftp サーバー上のファイルの名前を変更する

説明

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

ftp_rename() は、 FTP ストリーム ftp_stream において from という名前のファイルまたはディレクトリを to に変更します。

成功時に TRUE 、エラー時に FALSE を返します。