rename($old_file, $new_file[, $move = FALSE])
| Parameters: |
|
|---|---|
| Returns: |
TRUE on success, FALSE on failure |
| Return type: |
bool |
Permits you to rename a file. Supply the source file name/path and the new file name/path.
// Renames green.html to blue.html
$this->ftp->rename('/public_html/foo/green.html', '/public_html/foo/blue.html');
Please login to continue.