控制台BT客户端——CTorrent

今天因为一些原因希望下载一个已经没啥种子的torrent,想到了借用VPS的力量(主要是高带宽优势和区域优势),所以在VPS先安装了一个官方bittorrent,结果装出来一堆命令真是让人眼花了,觉得没爱,继续google之后,决定尝试一下这个CTorrent,使用了一下觉得临时对付一下还是十分方便的~(在Ubuntu上,apt上的已经是CTorrent的修改版——Enhanced CTorrent)

命令范例:

ctorrent -s /temp -e 1 -C 32 -p 7777 test.torrent

其中-s参数指定存储路径,-e指定做种时间(单位小时),-C缓存容量(单位M),-p绑定端口,开启后会显示上传和下载的详细信息:

Listening on 0.0.0.0:7777
Press 'h' or '?' for help (display/control client options).
/ 25/75/1589 [618/1719/1719] 156MB,46MB | 226,54K/s | 224,16K E:0,1

另外还可以使用-d参数进入后台运行的模式(运用fork实现),-h查看帮助~

原作者自称为YuHong,看来是个中国人,支持一下!

Enhanced CTorrent

CTorrent官方网站(项目已经停止更新)

作者本人在FreeBSD China论坛的发布帖

某人写的一篇CTorrent源码解读

6 Responses

Leave a Comment

(Necessary)

(Necessary, will not be published)

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.