ftp_base::chmod()publicWP 1.0

Method of the class: ftp_base{}

No Hooks.

Return

null. Nothing (null).

Usage

$ftp_base = new ftp_base();
$ftp_base->chmod( $pathname, $mode );
$pathname (required)
-
$mode (required)
-

ftp_base::chmod() code WP 6.5.2

function chmod($pathname, $mode) {
	if(!$this->site( sprintf('CHMOD %o %s', $mode, $pathname), "chmod")) return FALSE;
	return TRUE;
}