cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using upload/progress with limited rate

From: Wei Weng <wweng_at_kencast.com>
Date: Mon, 22 Dec 2003 16:44:11 -0500

Wei Weng wrote:

> 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
>
>
>
Oops, don't know how come my email is chopped.

But the command I used is

curl --upload-file myfile --verbose --progress-bar --limit-rate 40k
ftp://user:pass/Temp/newfile

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