agourlay / dlm

Minimal HTTP download manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Multi connections download

chromer030 opened this issue · comments

It's so much better to start multiple threads to download at the same time, for increasing and boosting download speed and bypass firewall speed limitation.
Specifying the number of connections to one server for each download.

Proposed feature look likes this :

dlm -s 16 'URL / --input-file`

What do you mean exactly by?

Specifying the number of connections to one server for each download.

Is it about downloading the same file in parallel starting from different HTTP byte ranges?

Specifying the number of connections to one server for each download.

I mean multiple connections to server for downloading file.

Sorry I am not sure I understand what you mean :)

The tool currently enables users to have a given number of concurrent downloads using the option --maxConcurrentDownloads.

Why is this option not a good fit for what you want?

Sorry if i didnt explain it well , i mean configuration of connections to server per file , for example with dlm -c 16 each file be downloaded with 16 concurrent connections in 16 parts , and this will boost download speed.
I hope i could explain what i mean.

Alright, this is what I meant in #12 (comment) from a technical perspective 👍

I took the liberty to change the title of the issue for more clarity.

That's a very interesting feature which would require a good chunk of work.

What tools like aria2 do is configure it as the maximum number of connections per server not just per file. This way if you have 1000+ files from the same server you don't overload it even if you set the number of parts per file to 10.