ctorrent1
Download bittorrent files from command line
Usage
ctorrent -
[options]
*.torrent
Options
-
-a -
Preallocate files on disk
-
-A USER-AGENT-STRING -
Set User-Agent header (default "Enhanced-CTorrent/dnh3.2")
-
-b FILE -
Bitfield save FILE (default is torrent+".bf")
-
-c -
Check pieces only, don't download
-
-d -
Daemon mode (fork to background)
-
-D rate -
Max bandwidth down (unit KiB/s)
-
-e hours -
Exit while seed HOURS later (default 72 hours)
-
-E ratio -
Exit after seeding to RATIO (UL:DL)
-
-f -
Force saved bitfield or seed mode (skip initial hash check)
-h|-H-
Display short help.
-
-i IP -
Listen for connections on specific IP address (default all/any)
-
-l LENGTH -
Piece length (default 262144)
-
-m PEERS-MIN -
Min peers count (default 1)
-
-M PEERS-MAX -
Max peers count (default 100)
-
-n FILE-NBR-LIST -
Specify file number(s) to download
-
-p PORT -
Listen PORT (default 2706 -> 2106)
-
-P ID -
Set Peer ID prefix (default "-CD0302-")
-
-s SAVEFILE|DIR -
Download ("save as") to a different file or directory
-
-t -
Create a new torrent file
-
-t URL -
Tracker's URL
-
-v -
Verbose output (for debugging)
-
-x -
Decode metainfo (torrent) file only, don't download
-
-z SLICE-SIZE -
Download slice/block size, unit KB (default 16, max 128)
Overview
CTorrent is a BitTorrent Client program written in C/C++. Fast and small are CTorrent's two strengths.
EXAMPLES
ctorrent -s save.iso -e 12 -C 32 -p 6881 iso.torrent
Environment
None.
Files
None.
History
- Debian 13 (Trixie) to Debian 6.0 (Squeeze): the text shown here
- Debian 5.0 (Lenny)
-A since Debian 6.0 (Squeeze);
-D since Debian 6.0 (Squeeze);
-E since Debian 6.0 (Squeeze);
-M since Debian 6.0 (Squeeze);
-P since Debian 6.0 (Squeeze);
-a since Debian 6.0 (Squeeze);
-b since Debian 6.0 (Squeeze);
-c since Debian 6.0 (Squeeze);
-d since Debian 6.0 (Squeeze);
-e since Debian 6.0 (Squeeze);
-f since Debian 6.0 (Squeeze);
-i since Debian 6.0 (Squeeze);
-l since Debian 6.0 (Squeeze);
-m since Debian 6.0 (Squeeze);
-n since Debian 6.0 (Squeeze);
-p since Debian 6.0 (Squeeze);
-s since Debian 6.0 (Squeeze);
-t since Debian 6.0 (Squeeze);
-x since Debian 6.0 (Squeeze);
-z since Debian 6.0 (Squeeze).
--help until Debian 5.0 (Lenny);
--version until Debian 5.0 (Lenny);
-h until Debian 5.0 (Lenny).