JFTP::chmod
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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::chmod[edit]
Description[edit]
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[edit]
- JFTP::chmod source code on BitBucket
- Class JFTP
- Subpackage Client
- Other versions of JFTP::chmod
User contributed notes[edit]
Code Examples[edit]