chmod($path, $perm)
| Parameters: |
|
|---|---|
| Returns: |
TRUE on success, FALSE on failure |
| Return type: |
bool |
Permits you to set file permissions. Supply the path to the file or directory you wish to alter permissions on:
// Chmod "bar" to 755
$this->ftp->chmod('/public_html/foo/bar/', 0755);
Please login to continue.