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