JFTP::rename
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFTP::rename[edit]
Description[edit]
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[edit]
JFTP::rename source code on BitBucket
Class JFTP
Subpackage Client
- Other versions of JFTP::rename
User contributed notes[edit]
Code Examples[edit]