Re: cURL output is very skinny
Date: Tue, 11 Sep 2007 09:11:39 +0200
Will Weatherford wrote:
> I issue this cURL command:
> curl [...] -v -o 220.127.116.11Schedule.txt https://18.104.22.168/...
> And 22.214.171.124Schedule.txt looks like:
Yes, that's exactly what the server sent, whatever content type it sent.
If you wanted to also save http headers, there is an option for that.
> I thought I should see in this file the same output I get to the DOS box:
That's effect of the "-v" option above. There are options for tracing to
files, for redirecting stderr to a file for shells that don't support it,
Study cURL options and exit codes carefully: they allow users to get the
exact behavior they need for automating most jobs without programming.
Try "curl --manual" or http://curl.haxx.se/docs/manpage.html
Received on 2007-09-11