cURL / Mailing Lists / curl-users / Single Mail

curl-users

"host not found" with a M$ proxy

From: <boltthrower_at_libero.it>
Date: 26 Jun 2001 07:53:55 -0700

hello all,

I'm trying to get a page through a local M$ proxy with curl 7.8 on win2000:

curl -a Mozilla/4.0 -v -x 199.123.123.123:8080 -U user:pass -o c:\temp\1.html http://www.openssl.org

all I get is:

* Connected to 199.123.123.123 (199.123.123.123)
> GET http://Mozilla/4.0 HTTP/1.1
Proxy-authorization: Basic SVRFWVxDT05TVUxFTlRJMTppcm9uNzQ=
User-Agent: curl/7.8 (win32) libcurl 7.8 (OpenSSL 0.9.6)
Host: Mozilla
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

  % Total % Received % Xferd Average Speed Time Curr.
                                 Dload Upload Total Current Left Speed
100 1313 0 1313 0 0 567 0 --:--:-- 0:00:02 --:--:-- 437
* Connection (#0) left alive
* Re-using existing connection! (#0)
* Connected to 199.51.109.28 (199.51.109.28)
> GET http://www.openssl.org HTTP/1.1
Proxy-authorization: Basic SVRFWVxDT05TVUxFTlRJMTppcm9uNzQ=
User-Agent: curl/7.8 (win32) libcurl 7.8 (OpenSSL 0.9.6)
Host: Mozilla
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

* Connection (#0) left alive
* Closing live connection (#0)

-------

but the output file 1.html is only (and ever) a silly proxy message that says "Host was not found"...

is there some other option like -a (yes, without it I get a plain message that says "The parameter is incorrect.", like if you couldn't use a different UA :-)) ?

thanks everybody
and hello to Daniel (PS: what about telnet on win?)

--Giuse

Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
Received on 2001-06-26