DIGIT-ARC read-only archive · snapshot: July 23, 2026

Need help with Curl

1 post · originally from https://geek.digit.in/community/threads/need-help-with-curl.177763/

Harsh Pranami
Harsh Pranami Original post #1
Sep 12, 2013 at 5:34 PM
Hi friends. Suppose I use this command line to download a file "download.zip" of size 1mb from the url *www.download.com/download.zip


curl *www.download.com/download.zip --range 0-499999 -o c:\download1.zip

The above will download the first 499999 bytes of the file and save it as download1.zip

For downloading the second part I use this command

curl *www.download.com/download.zip --range 499999- -o c:\download2.zip

This will download the rest. Now I'm having trouble combining these two parts using curl. Although I can combine them using another software, I want to do it in curl itself. Please tell me the command for that.Also what if the range of second part is from "399999- ". Will it affect the merging command?