cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl With WWW Host

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 5 May 2009 13:30:38 +0200 (CEST)

On Tue, 5 May 2009, AmitAhuja wrote:

> when I am Running the URL with Curl which is Not On WWW. Like
> (http://segdl.org/) . It is Returning False,While The Url is Right. So can
> Any one tell me the Way to get "True" With Curl after Run Above Url.

curl doesn't return False or True. It returns a number from 0 to 83. 0 meaning
everything went fine, and the others being errors. See 'man curl'.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-05-05