Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using cURL on the command line to automate the downloading of many files from a server. I'm wondering where cURL stores its data whilst it's downloading.

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

share|improve this question

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.

share|improve this answer

Use the -# switch to display the progress bar.

Screenshot of cURL progress bar in terminal

share|improve this answer
thanks for the edit, @trig – Sathya Sep 23 '15 at 16:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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