ftp_base::chmodpublicWP 1.0

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() code WP 7.0

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