WordPress at Your Fingertips
function is not described

ftp_base::chmod() public WP 1.0

{} It's a 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)
-

Code of ftp_base::chmod() WP 5.8.2

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