ftp_rename

ftp_rename

(PHP 4, PHP 5, PHP 7)

ftp_renameRenames a file or a directory on the FTP server

Description

bool ftp_rename ( resource $ftp_stream , string $oldname , string $newname )

ftp_rename() renames a file or a directory on the FTP server.

Parameters

ftp_stream

The link identifier of the FTP connection.

oldname

The old