Hi I'm using curl on the command line to automate some downloading of many files from a server . However I'm wondering where curl stores it's data whilst it's downloading?

The reason I need this info is so I can calculate the amount of data been downloaded as a percentage.

link|improve this question

50% accept rate
feedback

2 Answers

While downloading, curl buffers data in the RAM and regularly flushes it to the output (which is probably a file in your case, but may be anything).

Looking at its manual page, I don't see an easy way to get download progress within a script. If you'd provide more details, I'll try to find a solution.

link|improve this answer
feedback

Use -# switch to display the progress bar.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.