curl-library
using upload/progress with limited rate
Date: Mon, 22 Dec 2003 16:08:37 -0500
I tested this on curl-7.10.4 RPM (The latest RPM release for redhat is
7.10.4).
I used
curl --upload-file /home/wweng/myfile --verbose --progress-bar
--limit-rate 40k ftp://wweng:mypassword@localhost/Temp/myfile
Based on man page (as well as src/main.c), it should display a progress
bar updated every second to reflect the amount of data uploaded. But the
result showed up after half minute:
################################## 100.0% Connection #0 left intact
It seems that the progress callback was not being called every second
like it is supposed to be.
Thanks
Wei
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-22