Multiple HTTP Connections (Segmented/Swarm Downloa

2019-05-27 03:18发布

I'm currently working on creating a Download Manager for Android. In order to optimize the download I need to download the same file using multiple connections to the server. (ie. the same technique used in Internet Download Manager used in Windows.) The thing is I don't know how to create several HTTP connections and download the same file. I hope you can help me.. Thanks in advance!

1条回答
可以哭但决不认输i
2楼-- · 2019-05-27 03:54

Spawn off a few threads which request part of the file via the Header Content-Range keyword. see Reading the first part of a file using HTTP

查看更多
登录 后发表回答