Copyright (c) 2017 Paul B Mahol
NCDM is TUI tool to download files over various protocols.
- Resume download
- Showing extra info
- Speed download control for each URL
- Bunch of protocols supported
After starting, press F1 or ? to toggle display help. Use a/A to enter new download URL. Use S to stop/start all downloads. Use p to unpause/pause selected download. Use i to toggle more info for selected item. Use D to delete selected download from the download list. Use HOME/END & UP/DOWN to scroll items being downloaded. Use LEFT/RIGHT to decrease/increase speed of download. Use Q to quit.
You can also give URLs you want to download via command-line parameters.
Optional switches: -R referer - This one set referer for next URL. If URL does not follow it, it will be ignored.
-M number - This one set max number of connections available at same time. Setting this to 0, will use new connection for each new download. Set this to 1 if you want to download up to one item at same time.
-H number - Set max number of connections available at same time to single host:port combination.
-o file - Set output file, not overwritting it if it exist.
-O file - Similar as above but with overwritting.
-i file - Input file with URLs to fetch, each URL is in separate line.
-s speed - Limit max speed in bytes for downloading URL that follows it.
-x bool - Auto start downloading.
-X bool - Auto exit when all was downloaded.
Fetch ftp://ftp.foo.com/foo.iso:
ncdm -M 1 -o new.iso -s 4096000 ftp://ftp.foo.com/foo.iso
To build NCDM, you need C99 compiler, a POSIX system, recent libcurl
library, libevent2 library, pthreads and ncursesw library.
To build simply type make
.
Please file any bugs or problems on the GitHub Issues page, and send any new code as a Pull Request.