I want to develop a download manager supporting segmented download. So, I am looking for a library supporting the same. Please give suggestions regarding the best library available on Linux platform that could serve the purpose.
I want to develop a download manager supporting segmented download. So, I am looking
Share
Any library that supports custom HTTP headers, such as libcurl, will work.
You need to spawn several threads. In each thread, set the
Rangefield in you request header to specify which part of the file this thread needs to download.And for libcurl specially, you can use the
CURLOPT_RANGEoption to do partial file download.See the description form libcurl‘s documentation.