ftp_base::chmod() –

You appear to be a bot. Output may be restricted

Description

Usage

ftp_base::chmod( $pathname, $mode );

Parameters

$pathname
( mixed ) required
$mode
( mixed ) required

Returns

void

Source

File name: wordpress/wp-admin/includes/class-ftp.php
Lines:

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

 View on GitHub View on Trac