cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: My last report was wrong Re: using upload/progress with limited rate

From: Wei Weng <wweng_at_kencast.com>
Date: Mon, 05 Jan 2004 13:36:31 -0500

Daniel Stenberg wrote:
> On Mon, 29 Dec 2003, Wei Weng wrote:
>
>
>>>Can you provide a source code for an app that shows how to repeat this? I
>>>can't think of any changes for 7.10.8 that would've changed this.
>>>
>>
>>I basically ran the following command (through console):
>>
>>curl --upload-file /home/wweng/myfile --verbose --progress-bar --limit-rate
>>40k ftp://wweng:mypassword@localhost/Temp/myfile
>>
>>And you can see the progress-bar only jumps out when the whole process is
>>finished.
>
>
> This is not a good proof of a libcurl bug. When you run 'curl' to output the
> results on stdout (the terminal) it will automaticly switch off the progress
> bar so that it doesn't interfere with the output.
>
> Try adding "-o foo" to the above command line and it works fine in my end.
>
Even with --progress-bar option?

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 2004-01-05