Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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 -# switch to display the progress bar.

share|improve this answer

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.