ftp_base::quit() –

You appear to be a bot. Output may be restricted

Description

Usage

ftp_base::quit( $force );

Parameters

$force
( mixed ) optional

Returns

void

Source

File name: wordpress/wp-admin/includes/class-ftp.php
Lines:

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

 View on GitHub View on Trac