A Sample Download Booster App that helps to download a file from a http url in 1 MiB chunks serially.
Features:
- Source URL/File can be downloaded serially in configurable chunks
- Source URL, Output filename, Chunk size, Number of chunks/requests can be configurable via command line arguments
- The file will be downloaded/chunks will be received in an order
You would need to clone the repository to run the application
git clone https://github.com/harikiranyalavarthi9/DownloadBooster.git
cd DownloadBooster
You can run the application on Windows, MacOS, Linux either using node or using executable files.
######To run using node
Install node modules:
npm install
Run app using below command
node multiGet -output <file_name-string> -url <url_name-string> -chunkSize <chunk_size-number> -numOfChunks <number_of_chunks-number>
Chunk Size is measured in MiB. Eg: -chunkSize 2
Chunk Size and No.of Chunks/Requests are optional.
By default, Chunk Size is set to 1MiB and No.of Chunks to 4.
######To run using executable files:
For Windows:
./multiGet-win -o <file_name-string> -url <url_name-string> -chunkSize <chunk_size-number> -numOfChunks <number_of_chunks-number>
For MacOS:
./multiGet-macos -o <file_name-string> -url <url_name-string> -chunkSize <chunk_size-number> -numOfChunks <number_of_chunks-number>
./multiGet-linux -o <file_name-string> -url <url_name-string> -chunkSize <chunk_size-number> -numOfChunks <number_of_chunks-number>