curl-users
Re: download time
From: Aleksandar Lazic <al-curlusers_at_none.at>
Date: Fri, 13 Jun 2008 18:21:06 +0200
Date: Fri, 13 Jun 2008 18:21:06 +0200
Hi Omar,
On Fre 13.06.2008 10:01, Omar Marcillo wrote:
>Hi everyone,
>I wrote a script to download a list of files from a webserver, and I
>need to save the download information (download time, speed of the
>connection) in a file
>I tried this:
>curl -w %{times_total} > TIMESTAT --interface en0
>192.168.0.101/DT0001__.OCF > DT0001__.OCF;
>that did not work
>
>I also tried
>curl --trace INFO --interface en0 192.168.0.101/DT0001__.OCF >
>DT0001__.OCF;
>
>but that saves not just the information but also all the data...
>
>Again a just need a way to download a file and write another file with
>the infomration of the proccesses...
how about
curl -w ... -o file_to_save >outfile
Hth
Aleks
Received on 2008-06-13