ftp_base::quit()
Method of the class: ftp_base{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ftp_base = new ftp_base(); $ftp_base->quit( $force );
- $force **
- -
Default: false
ftp_base::quit() ftp base::quit code WP 6.6.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; }