A
A
alex stephen2016-10-31 20:00:56
Computer networks
alex stephen, 2016-10-31 20:00:56

How to download a file with multiple parts?

There is a certain list of http links with files. They need to be downloaded in order and glued into one file. The task is trivial, and is solved with wget and > file. But when there are too many such "pieces", the download speed becomes negligibly low.
I would like to somehow parallelize the process. For example, how is it done in the same torrent... Are there any implementation examples? JP doesn't matter

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2016-10-31
@berezuev

code.activestate.com/recipes/114217-multi-segment-...
codereview.stackexchange.com/questions/57510/comma...
multithreading only works if the server supports it

F
Fumoffu, 2016-10-31
@Fumo

Look at aria2 or axel .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question