I needed a command line BitTorrent client for my Fedora Core 6, and started to look for some options, I found ctorrent, which I could see has the options I may need, and as it is written in C should be fast, I know there is another one written in python also.
Let’s see how to install and use this one. (ctorrent)
First we need to install it.
yum install ctorrent
(you will need extras repository for this)
If you run
with no arguments this is what you get.
CTorrent dnh2 Original code Copyright: YuHong(992126018601033) WARNING: THERE IS NO WARRANTY FOR CTorrent. USE AT YOUR OWN RISK!!!
Generic Options: -h/-H Show this message. -x Decode metainfo(torrent) file only, don’t download. -c Check exist only. don’t download. -v Verbose output (for debugging).
-e int Exit while seed
Make metainfo(torrent) file Options: -t With make torrent. must specify this option. -u url Tracker’s url. -l piece_len Piece length.(default 262144)
eg. hong> ctorrent -s new_filename -e 12 -C 32 -p 6881 eg.torrent
home page: http://ctorrent.sourceforge.net/ see also: http://www.rahul.net/dholmes/ctorrent/ bug report: firstname.lastname@example.org original author: email@example.com
As you see it has lots of options, I will use here which I think could be the most useful.
-D Limit the download bandwidth in KBytes -U Limit the upload bandwidth in KBytes.
You will mostly want to use this two as you do not want to run out of bandwidth for the rest of you applications.
so a typical use will be:
ctorrent -D 10 -U 5 [bittorrentfile]