original_string: public function site($command) {
  		$this->connectIfNeeded();
  		$this->param = "SITE " . $command;
  
  		if (!ftp_site($this->handle, $command)) {
  			throw new FtpException(
  				Yii::t('gftp', 'Could not execute command "{command}" on "{host}"', [
  					'host' => $this->host, '{command}' => $this->param
  				])
  			);
  		}
  	}
code: public function site($command) {
  		$this->connectIfNeeded();
  		$this->param = "SITE " . $command;
  
  		if (!ftp_site($this->handle, $command)) {
  			throw new FtpException(
  				Yii::t('gftp', 'Could not execute command "{command}" on "{host}"', [
  					'host' => $this->host, '{command}' => $this->param
  				])
  			);
  		}
  	}
code_tokens: public function site ( $ command ) { $ this -> connectIfNeeded ( ) ; $ this -> param = "SITE " . $ command ; if ( ! ftp_site ( $ this -> handle , $ command ) ) { throw new FtpException ( Yii :: t ( 'gftp' , 'Could not execute command "{command}" on "{host}"' , [ 'host' => $ this -> host , '{command}' => $ this -> param ] ) ) ; } }
docstring: Sends a SITE command request to the FTP server.
  
  @param string    $command       FTP command (does not include <strong>SITE</strong> word).
  
  @throws FtpException If command execution fails.
docstring_tokens: Sends a SITE command request to the FTP server .