cURL / Mailing Lists / curl-users / Single Mail

curl-users

anybody ever met the percent issue in result?

From: À×Íõ <skygragon_at_gmail.com>
Date: Wed, 4 Nov 2009 18:04:55 +0800

Hi guys,

it seems the percent number is weird zero if the content request is smaller
than 100 bytes?
is it a known bug?

curl --range 201-299 http://192.168.1.4/test/cleartype.exe -o
./file_cleartype.exe
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 99 0 99 0 0 2399 0 --:--:-- --:--:-- --:--:--
99000

curl --range 201-301 http://192.168.1.4/test/cleartype.exe -o
./file_cleartype.exe
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
100 101 100 101 0 0 2352 0 --:--:-- --:--:-- --:--:--
98k

curl --range 201-300 http://192.168.1.4/test/cleartype.exe -o
./file_cleartype.exe
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
  0 100 0 100 0 0 28 0 --:--:-- 0:00:03 --:--:--
29

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-04