public function execute($command, $raw = false) {
		$this->connectIfNeeded();
		$this->param = $command;

		if (!$raw && $this->stringStarts($command, "SITE EXEC")) {
			$this->exec(substr($command, strlen("SITE EXEC")));
			return true;
		} else if (!$raw && $this->stringStarts($command, "SITE")) {
			$this->site(substr($command, strlen("SITE")));
			return true;
		} else {
			return $this->raw($command);
		}
	}
public function execute($command, $raw = false) {
		$this->connectIfNeeded();
		$this->param = $command;

		if (!$raw && $this->stringStarts($command, "SITE EXEC")) {
			$this->exec(substr($command, strlen("SITE EXEC")));
			return true;
		} else if (!$raw && $this->stringStarts($command, "SITE")) {
			$this->site(substr($command, strlen("SITE")));
			return true;
		} else {
			return $this->raw($command);
		}
	}
public function execute ( $ command , $ raw = false ) { $ this -> connectIfNeeded ( ) ; $ this -> param = $ command ; if ( ! $ raw && $ this -> stringStarts ( $ command , "SITE EXEC" ) ) { $ this -> exec ( substr ( $ command , strlen ( "SITE EXEC" ) ) ) ; return true ; } else if ( ! $ raw && $ this -> stringStarts ( $ command , "SITE" ) ) { $ this -> site ( substr ( $ command , strlen ( "SITE" ) ) ) ; return true ; } else { return $ this -> raw ( $ command ) ; } }
Execute any command on FTP server.

@param string    $command       FTP command.
@param bool      $raw           Do not parse command to determine if it is a <i>SITE</i> or <i>SITE EXEC</i> command.

@returns bool|string[] Depending on command : SITE and SITE EXEC command will returns <strong>TRUE</strong>; other command will returns an array. If <strong>$raw</strong> is set to <strong>TRUE</strong>, it always return an array.

@throws FtpException If command execution fails.

@see Ftp::exec Used to execute a <i>SITE EXEC</i> command
@see Ftp::site Used to execute a <i>SITE</i> command
@see Ftp::raw  Used to execute any other command (or if $raw is set to <strong>TRUE</strong>)
Execute any command on FTP server .