API17

API17:JFTP::rename

From Joomla! Documentation

Joomla 11.1 JFTP::rename

Description

Method to rename a file/folder on the FTP server.


public function rename (
        $from
        $to
)
Parameter Type Default Description
$from string Path to change file/folder from
$to string Path to change file/folder to
  • Returns boolean True if successful
  • Defined on line 480 of libraries/joomla/client/ftp.php

See also


User contributed notes

Code Examples