ftp_base::quit()publicWP 1.0

Метод класса: ftp_base{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ftp_base = new ftp_base();
$ftp_base->quit( $force );
$force **
-
По умолчанию: false

Код ftp_base::quit() WP 6.5.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;
}