cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Progress Meter

From: M. P. Karpinski <karp_at_xeomail.com>
Date: Thu, 25 Mar 2004 09:43:07 +0000

 
 Message: 8
 Date: Thu, 25 Mar 2004 09:06:50 +0100 (CET)
 From: Daniel Stenberg <daniel-curl_at_haxx.se>
 Subject: Re: Progress Meter / Stats on Uploads
 To: curl tool talk <curl-users_at_cool.haxx.se>
 Message-ID: <Pine.LNX.4.58.0403250904580.22029_at_linux3.contactor.se>
 Content-Type: TEXT/PLAIN; charset=US-ASCII
 
 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
 
 
 ------------------------------
 
Ok. Now how do I make it exit out of terminal mode sooner? It seems that curl waits an extra 15 seconds after it finishes uploading the file. Or is there a more appropriate option for uploading files (provided I want to see realtime progress)?

Here is my command line:

>curl -T my_big_log.log http://my_URL/ >1

FadMart - http://www.fadmart.com - An Associate of the World's Largest Store!
Received on 2004-03-25