cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Want to dump telemetry to a file....

From: Lars Nilsson <chamaeleon_at_gmail.com>
Date: Wed, 18 Feb 2009 19:36:44 -0500

On Wed, Feb 18, 2009 at 5:42 PM, Andrew Wallo
<walloa_at_franklinestatescompany.com> wrote:
> To a file, or another ouput.... and I can't get it to happen. Something
> about Curl using its output stream to handle both the file download and the
> report to the cmd line...and it turning it off during each task or
> something.... which makes no sense because it updates through the dnld
> process. The information is under the help topic [ -o filename.txt ] ( Also
> makes no sense ) Because -o is the switch for the local-target-name of the
> file that your downloading. Don't know why that affects my output to the
> cmd line... or why I can't pipe the results of the entire cmd line to a
> file with
> "> downloadtelemetry.txt"
>
> ( That results in me getting a successful download of filename.txt and an
> empty telemetry file. )

Have you tried using 2> instead of > to redirect stderr to a file?

Lars Nilsson
-------------------------------------------------------------------
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-02-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET