/getbot.js

A CLI script for segmented downloading.

Primary LanguageCoffeeScriptMIT LicenseMIT

Getbot.js build status

getbot.js

TODO

  • Make use of clustering to allow for higher connection counts.
  • Add support for pause/resume
  • Gracefully handle connection drops

Installation

Make sure you have the latest node installed and using npm run:

$ npm install -g getbot

Usage

To download a file to a folder, CD into the destination folder and run the following:

$ getbot <address>

or

$ getbot -d /destination/folder/ <address>

or

$ getbot -d /destination-filename <address>

and Bob's your uncle.

To download a file that requires basic HTTP Auth:

$ getbot -u <user> -p <pass> <address>

or

$ getbot <address> (if the address contains the credentials)

Getbot can also read a file and use each line as addresses to queue:

Create a file <yourfile> (note each path on it's own line)

http://file1.dmg
http://file2.zip

Go ahead and run this now:

$ getbot -l <yourfile>

and off it goes!