original_string: public function chmod($mode, $filename)
      {
          $result = @ftp_chmod($this->connection, $mode, $filename);
          
          if ($result === false) {
              throw new Exception('Unable to change permissions');
          }
  
          return $this;
      }
code: public function chmod($mode, $filename)
      {
          $result = @ftp_chmod($this->connection, $mode, $filename);
          
          if ($result === false) {
              throw new Exception('Unable to change permissions');
          }
  
          return $this;
      }
code_tokens: public function chmod ( $ mode , $ filename ) { $ result = @ ftp_chmod ( $ this -> connection , $ mode , $ filename ) ; if ( $ result === false ) { throw new Exception ( 'Unable to change permissions' ) ; } return $ this ; }
docstring: Set permissions on a file via FTP
  
  @param int $mode
  @param string $filename
  
  @return FTPClient
docstring_tokens: Set permissions on a file via FTP