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

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