ftp_base::quit()publicWP 1.0

Method of the class: ftp_base{}

No Hooks.

Return

null. Nothing.

Usage

$ftp_base = new ftp_base();
$ftp_base->quit( $force );
$force **
-
Default: false

ftp_base::quit() code WP 6.1.1

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;
}