Download manager and accelerator
Find a file
2020-08-05 09:53:51 -07:00
cmd/gophast Renew copyright 2020-02-07 14:57:03 -08:00
pkg Change default split connection count to 2 2020-08-05 09:53:51 -07:00
.gitignore Rewrite as library 2019-05-09 04:32:00 -07:00
.gitlab-ci.yml Migrate to GitLab 2020-01-22 17:37:11 -08:00
CHANGELOG Change default split connection count to 2 2020-08-05 09:53:51 -07:00
go.mod Change default split connection count to 2 2020-08-05 09:53:51 -07:00
go.sum Change default split connection count to 2 2020-08-05 09:53:51 -07:00
goreleaser.yml Migrate to GitLab 2020-01-22 17:37:11 -08:00
LICENSE Renew copyright 2020-02-07 14:57:03 -08:00
README.md Change default split connection count to 2 2020-08-05 09:53:51 -07:00

gophast

GoDoc CI status Donate

Download manager and accelerator

Features

  • Uses multiple connections to accelerate file transfers
  • Pause/resume support
    • Download progress is periodically written to a control file
    • Downloads are automatically paused when they are interrupted
    • Downloads are automatically resumed when a control file is present

Installation

Usage

gophast [OPTIONS] URL
   
OPTIONS:
  --dir value, -d value            directory to save in (default: current directory) [$GOPHAST_DIR]
  --downloads value, -j value      number of files to download concurrently (default: 5) [$GOPHAST_DOWNLOADS]
  --out value, -o value            file name to save as (default: from URL) [$GOPHAST_OUT]
  --split-conns value, -x value    split download using multiple connections (default: 2) [$GOPHAST_SPLIT_CONNECTIONS]
  --split-servers value, -s value  split download using multiple URLs (default: 1) [$GOPHAST_SPLIT_SERVERS]
  --split-size value, -k value     minimum byte range size (default: 10485760) [$GOPHAST_SPLIT_SIZE]
  --help, -h                       show help

Split download using at most three connections at least 10MB in size (default settings):

gophast https://example.com/file.zip

Split download using at most seven connections at least 2MB in size:

gophast -x 7 -k 2MB https://example.com/file.zip