cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl returns exit code 18 for remote file

From: James B. Byrne <byrnejb_at_harte-lyne.ca>
Date: Wed, 3 Aug 2011 15:13:52 -0400 (EDT)

On Wed, August 3, 2011 13:35, Daniel Stenberg wrote:
> On Wed, 3 Aug 2011, James B. Byrne wrote:
>
>> Although I cannot grasp the logic behind giving such notice to
>> stdout if that is all one expects to begin with.
>
> I don't understand your question. What is the logic about giving
> output to stdout when you ask for it? curl is about sending or
> getting data

My misapprehension stems from an imperfect interpretation of
--silent. I was seeking a way to obtain just an exit code from cURL
without output redirection and did not inquire closely enough into
what --silent meant to cURL.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB_at_Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-03