cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Follow up - cURL redirecting output to file in windows

From: Paul Gordon <gordonp_at_us.ibm.com>
Date: Mon, 19 Mar 2012 17:08:55 -0400

Thanks Daniel,
Yes the -v is just for verbose. We are simply testing that we receive a
http 200 OK message back from the firewall. Hoping to capture that
message in an output file. Of course when we use > in windows, we only
see the curl commands

From:
Daniel Stenberg <daniel_at_haxx.se>
To:
the curl tool <curl-users_at_cool.haxx.se>
Date:
03/19/2012 02:51 PM
Subject:
Re: Follow up - cURL redirecting output to file in windows
Sent by:
curl-users-bounces_at_cool.haxx.se

On Mon, 19 Mar 2012, Paul Gordon wrote:

> On 11/13/2008, seen posts about output to file not working within
Windows.
> Seems we are running into the same issue, but I do not see a resolution
on
> this posting. Could someone please inform of the solution?

I'm not aware that ever was any such problem...

> curl -v --output "outfile1" http://somedatapowerdevice:port/firewall

So what does -v show? I'm guess you're getting a redirect or other content

without any response body.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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

-------------------------------------------------------------------
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 2012-03-19