I want to deploy it on my VPS server to download resources quickly.
This could save me a lot of time since some resources are in a foreign country,
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The default BitTorrent client of Ubuntu Desktop, Transmission, has a command line interface (which is not installed by default, the package is
transmission-daemon). The daemon can be setup so that it may be interacted with through the terminal and through a web interface.
Transmission is a good bittorrent client because:
For more info on its features, see this page.
Multiple user-interfaces, supports access from most platforms:
Many Plugins and application extensions
A CLI downloader supporting HTTP, FTP, and Torrents.
To download a torrent:
You can also point it to a remote torrent file
http://some web site here.com/file.torrent so you don't need to download the torrent file first.
Also note you can disable file allocation with this flag:
Aria2c also supports parallel downloading on HTTP. Use the
-j flag to determine how many threads. For 3 concurrent downloads of a single HTTP file see the following example:
aria2c -j 3 website.com/file.rar
Azureus/Vuse also has a console mode. [disclaimer] I was one of the developers.
To use azureus in console mode, you will need to download a couple of additional libraries from http://svn.vuze.com/public/client/trunk/uis/lib/
If you place these in same the directory as the Vuze jar, you can launch the console ui by running:
java -jar Vuze-xxxx.jar --ui=console
Inside the CLI, type help to view the commands. A couple of useful commands are:
Here is example output from a 'show torrents' command
show torrents > ----- 1 [>] 025.6% Azureus184.108.40.206.jar (13.26 MB) ETA: 1m 41s Speed: 295.1 kB/s / 0 B/s Amount: 3.56 MB / 0 B Connections: 11(20) / 0(4) Total Speed (down/up): 296.6 kB/s / 2.2 kB/s Transferred Volume (down/up/discarded): 3.56 MB / 0 B / 0 B Total Connected Peers (seeds/peers): 11 / 0 > -----
Take a look at http://wiki.vuze.com/w/Console_UI for more information :-)
There is a similar question on stackoverflow.com.
The accepted answer there is CTorrent so I thought I should mention it here. The description of ctorrent from packages.debian.org is as follows:
This application is written in the C++ language and doesn't require any graphical component, such as an X server. Original ctorrent's upstream has stopped its development and now it's kept updated with new releases/bug fixes by a new developer. It's built as a console program and it can be even used remotely in a machine that provides outside ssh access.
there is also an enhanced version of ctorrent which can be found at http://sourceforge.net/projects/dtorrent/
Try utorrent linux alpha version. Its a headless server which can be controlled from your browser (web UI). http://www.utorrent.com/downloads/linux.
I use tget which is (in the author's words) "wget for torrents". It allows you do download using torrent files or magnet links. It is a node.js application.
npm install -g t-get
I know it's an old question, but nobody mentioned peerflix.
Most importantly, it supports streaming of video and audio content through VLC (just launch it with the flag