A CLI script for segmented downloading.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
src
.gitignore
.npmignore
.travis.yml
Cakefile
LICENSE
README.md
getbot.gif
getbot.png
package.json

README.md

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!