ftp_base::SetTimeout() –

You appear to be a bot. Output may be restricted

Description

Usage

ftp_base::SetTimeout( $timeout );

Parameters

$timeout
( mixed ) optional default: 30 –

Returns

void

Source

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

1 to 7 of 7
  function SetTimeout($timeout=30) {
    $this->_timeout=$timeout;
    $this->ftp_base::SendMSG("Timeout ".$this->_timeout);
    if($this->_connected)
      if(!$this->_settimeout($this->_ftp_control_sock)) return FALSE;
    return TRUE;
  }
 

 View on GitHub View on Trac