ftp_base::chmod()publicWP 1.0

Method of the class: ftp_base{}

No Hooks.

Return

null. Nothing.

Usage

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

ftp_base::chmod() code WP 6.1.1

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