curl-users
Re: using curl
Date: Sun, 15 Oct 2006 23:26:39 -0500
On 10/15/06, dauz <azudin_at_citranet.com.my> wrote:
>
>
> hello,
>
> i am new to this tool.. can anyone help me with an examples (command lines)
> how to curl website and generate report to specific file in specific
> directory..
>
> ======================
>
> my case;
>
> C:\\curl>curl http://[my domain].com --config c:\\curl\\config.txt
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total
> Spent Left Speed
> 100 3800 0 3800 0 0 777 0 --:--:-- 0:00:04 --:--:--
> 982
>
> ========
>
> how do i put this info into file? if i want to get some of them like time
> spent & current speed?
Take a look at the manual page for the -w option. That allows you
to write out certain things in a format that you specify.
Ralph Mitchell
Received on 2006-10-16