From: Wei Weng 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 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.
![]()
CURL displays the download progress in a table-like format, with. For a simpler progress bar by adding -# or –progress-bar to your cURL command. You can also upload files to an FTP server with the -T (transfer) option. CURL displays the download progress in a table-like format, with columns containing information about If you dislike this, you can opt for a simpler progress bar by adding -# or –progress-bar to curl -F 'f:[email protected]' ix.io. When you get a link to the uploaded text, you can modify its URL to show.
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 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. Received on 2003-12-22.
Apt-get install curl In this article, we’ll go through some examples to understand some of the features curl provides. Example 1: Save a web page. root@linuxnix # curl linuxnix.html% Total% Received% Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 206k 0 206k 0 0 29952 0 -:-:- 0:00:07 -:-:- 179k root@linuxnix # The above example will save the content of the web page to a file named linuxnix.html.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |