API17:JFTP::rename
From Joomla! Documentation
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
JFTP::rename source code on BitBucket
Class JFTP
Subpackage Client- Other versions of JFTP::rename
User contributed notes
Code Examples