public function chmod($file, $mode)
    {
        return ($this->isConnected() === true) ? ftp_chmod($this->getConnection(), $mode, $file) : false;
    }
public function chmod($file, $mode)
    {
        return ($this->isConnected() === true) ? ftp_chmod($this->getConnection(), $mode, $file) : false;
    }
public function chmod ( $ file , $ mode ) { return ( $ this -> isConnected ( ) === true ) ? ftp_chmod ( $ this -> getConnection ( ) , $ mode , $ file ) : false ; }
Change permission.

@param (string) $file file
@param (mixed)  $mode mode

@since 3.0.0

@return bool
Change permission .