cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Redirecting cURL upload output

From: Brad Demers <bjdemers76_at_yahoo.ca>
Date: Tue, 18 Aug 2009 12:52:27 -0700 (PDT)

Ahh, excellent, this is exactly what I was looking for.

Thank you Daniel and Jim and the rest of the cURL list users =) You're great!

________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
To: the curl tool <curl-users_at_cool.haxx.se>
Sent: Tuesday, August 18, 2009 3:20:51 PM
Subject: Re: Redirecting cURL upload output

On Tue, 18 Aug 2009, Brad Demers wrote:

> Yes, is it possible to capture that data in some way?

Yes. That output is passed to stderr, which standard shells redirect with 2>output but you can also use the --stderr option.

-- 
/ 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
      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.

-------------------------------------------------------------------
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-08-18