cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl with Windows 2003 Server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 19 Oct 2003 18:39:23 +0200 (CEST)

On Sat, 18 Oct 2003, Frank Costa wrote:

> C:\curl>curl --version
> curl 7.10.7 (win32) libcurl/7.10.7 OpenSSL/0.9.7a zlib/1.1.4
> Protocols: ftp gopher telnet dict ldap http file https ftps
> Features: SSL libz NTLM
>
> Curl -I "http://www.boston.com <http://www.boston.com/> "

Did you really provide the URL like that? It sure looks like a weird URL. It
should look like:

        curl -I www.bostom.com

(no quotes or less/greater than signs needed)

> I receive a "Couldn't resolve host" error. This makes me think there is
> a network issue occurring but then I have no problem accessing via the
> browser.

Most probably you use a proxy with your browser and you didn't tell curl to
use that same proxy. curl doesn't detect it automaticly, but you have to use
the -x option.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
Received on 2003-10-19