WordPress at Your Fingertips
function is not described

ftp_base::SetTimeout() 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->SetTimeout( $timeout );
$timeout **
-
Default: 30

Code of ftp_base::SetTimeout() WP 5.8.2

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