ftp_base::chmod
Method of the class: ftp_base{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ftp_base = new ftp_base(); $ftp_base->chmod( $pathname, $mode );
- $pathname(required)
- .
- $mode(required)
- .
ftp_base::chmod() ftp base::chmod code WP 7.0
function chmod($pathname, $mode) {
if(!$this->site( sprintf('CHMOD %o %s', $mode, $pathname), "chmod")) return FALSE;
return TRUE;
}