public function pasv($pasv) {
		$this->connectIfNeeded();
		$this->param = $pasv;

		if (!ftp_pasv($this->handle, $pasv === true)) {
			throw new FtpException(
					Yii::t('gftp', 'Could not {set} passive mode on server "{host}": {message}', [
						'host' => $this->host, 'set' => $pasv ? "set" : "unset"
					])
			);
		}
	}