cURL / Mailing Lists / curl-users / Single Mail


Re: cURL output is very skinny

From: Alessandro Vesely <>
Date: Tue, 11 Sep 2007 09:11:39 +0200

Will Weatherford wrote:
> I issue this cURL command:
> curl [...] -v -o
> And looks like:
> <HTML><HEAD>[...]

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,
and more.

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
Received on 2007-09-11