Cayos Cochinos

contact

Julien Benoist <julien@benoist.name>
285 Grand View avenue,
San Francisco, CA 94114
cell: +1 415-238-7908

projects

libko
spamanalysis
random software
lockfree computing

ese's

A B C D E

Parallel http downloader

Marteauget is an HTTP downloader for linux with an emphasis on download speed and lightweightness.

Features:

Download:

Jan 31 2011: marteauget-1.1.tar.bz2, md5: a10f4533c2985a246da1d8d1fa0ecba7.

Usage

Downloading with 4 parallel connections:

$ marteauget -n4 http://www.kernel.org/pub/linux/kernel/v1.0/linux-1.0.tar.gz
100.00% (1259161/1259161 at 1.20 m/s)

Interrupting (press ctrl-C) and resuming a download:

$ marteauget -n32 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.tar.gz
5.98% (5529373/92473941 at 1.54 m/s)^C
graceful interruption, you may resume later by invoking:
 marteauget linux-2.6.37.tar.gz.marteauget
 OR
 marteauget -n32 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.tar.gz

$ marteauget ./linux\-2.6.37.tar.gz.marteauget 
resuming 'linux-2.6.37.tar.gz' at 8.80%
100.00% (92473941/92473941 at 656.92 k/s)

Command line interface

Usage: marteauget [OPTION] 
  -h,  --help                   print this menu
  -v,  --version                display version information
  -N,  --no-url-decoding        deactivate URL decoding
  -S,  --single-host            do not fetch from multiple hosts
  -n,  --connections=N          use at most N connections
  -t,  --timeout=SECS           set TCP timeout to SECS
  -d,  --verbosity=LEVEL        use LEVEL verbosity (0=silent, 1=normal, 2=debug)

Notes:
  safe-abortion: press ^C
  resuming: marteauget /path/to/foo.marteauget
  url-syntax: http://[user:pass@][:port]/

report bugs to <julien@benoist.name>

See also

The excellent axel and wget utilities.