ftp_rename

(3.0.13 - 3.0.18 only, PHP 4 >= 4.0.0)

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

説明

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

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

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