[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Offtopic]: Compress Downloads on the fly



On 01/28/2017 08:10 PM, Rainer Dorsch wrote:
I would like to download a large csv file from a JavaScript intensive web page. My client system has not enough storage for the file, but if I could compress the file on the fly, things would work, since the file has a huge compression ratio.

If you could fetch the URL, then use wget or curl to do this:

wget -O- http://www.example.com | bzip2 >your.file.bz2
curl http://www.example.com | bzip2 >your.file.bz2

-- Michael


Reply to: