cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Progress Meter / Stats on Uploads

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 25 Mar 2004 09:06:50 +0100 (CET)

On Thu, 25 Mar 2004, M. P. Karpinski wrote:

> Should a progress meter or stats be available when uploading a file using
> the -T option? If not, is there another way to get upload stats (in
> real-time)?

The progress meter is automatically shut off when the output is sent to the
terminal. So, if you just do 'curl -T [file] [URL]' it won't show any progress
meter.

You can make it appear by adding "-o [file", "-O" or even just redirecting the
output with ">".

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-03-25