ftp_pure::_settimeout

Advertisement

Syntax Syntax

ftp_pure::_settimeout( $sock )

Source Source

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

	function _settimeout($sock) {
		if(!@stream_set_timeout($sock, $this->_timeout)) {
			$this->PushError('_settimeout','socket set send timeout');
			$this->_quit();
			return FALSE;
		}
		return TRUE;
	}

Advertisement

Advertisement

Leave a Reply