ftp_base::quit

Advertisement

Syntax Syntax

ftp_base::quit( $force = false )

Source Source

File: wp-admin/includes/class-ftp.php

	function quit($force=false) {
		if($this->_ready) {
			if(!$this->_exec("QUIT") and !$force) return FALSE;
			if(!$this->_checkCode() and !$force) return FALSE;
			$this->_ready=false;
			$this->SendMSG("Session finished");
		}
		$this->_quit();
		return TRUE;
	}

Advertisement

Advertisement

Leave a Reply