Saturday, 18 August 2018

macos - How to download parts of the same file from different sources with curl/wget?


I have a quite large file hosted on five different servers.


I would like to be able to download different parts of the file from each server and subsequently concatenate the parts, in order to produce the original file.


Is there any way to do this with curl/wget or any other OS X command-line tools?



Answer



aria2 is the solution for multiple downloads of same file from different locations


http://aria2.sourceforge.net/


in your case : aria2c -s5 host1/bigfile host2/bigfile ... host5/bigfile


better late than never...


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...