WordPress at Your Fingertips
function is not described

ftp_base::quit() public WP 1.0

{} It's a method of the class: ftp_base{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of ftp_base::quit() WP 5.8.2

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