ftp_base::SetTimeout

Advertisement

Syntax Syntax

ftp_base::SetTimeout( $timeout = 30 )

Source Source

File: wp-admin/includes/class-ftp.php

	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;
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.