API17:JFTP::chmod
From Joomla! Documentation
JFTP::chmod
Description
Method to change mode for a path on the FTP server.
public function chmod (
$path
$mode
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | Path to change mode on | |
| $mode | string/int | Octal value to change mode to, e.g. '0777', 0777 or 511 |
- Returns boolean True if successful
- Defined on line 514 of libraries/joomla/client/ftp.php
See also
JFTP::chmod source code on BitBucket
Class JFTP
Subpackage Client- Other versions of JFTP::chmod
User contributed notes
Code Examples