'br}

'br}

{\

## NAME

ctorrent - Download bittorrent files from command line

## SYNOPSIS

ctorrent - [options] *.torrent

## OPTIONS

\fB-a\fR 4

Preallocate files on disk

\fB-A USER-AGENT-STRING\fR 4

Set User-Agent header (default *(L"Enhanced-CTorrent/dnh3.2*(R")

\fB-b \s-1FILE\s0\fR 4

Bitfield save s-1FILEs0 (default is torrent+*(L".bf*(R")

\fB-c\fR 4

Check pieces only, don't download

\fB-d\fR 4

Daemon mode (fork to background)

\fB-D rate\fR 4

Max bandwidth down (unit KiB/s)

\fB-e hours\fR 4

Exit while seed s-1HOURSs0 later (default 72 hours)

\fB-E ratio\fR 4

Exit after seeding to s-1RATIOs0 (s-1UL:DLs0)

\fB-f\fR 4

Force saved bitfield or seed mode (skip initial hash check)

\fB-h|-H\fR 4

Display short help.

\fB-i \s-1IP\s0\fR 4

Listen for connections on specific s-1IPs0 address (default all/any)

\fB-l \s-1LENGTH\s0\fR 4

Piece length (default 262144)

\fB-m PEERS-MIN\fR 4

Min peers count (default 1)

\fB-M PEERS-MAX\fR 4

Max peers count (default 100)

\fB-n FILE-NBR-LIST\fR 4

Specify file number(s) to download

\fB-p \s-1PORT\s0\fR 4

Listen PORT (default 2706 -> 2106)

\fB-P \s-1ID\s0\fR 4

Set Peer s-1IDs0 prefix (default *(L"-CD0302-*(R")

\fB-s SAVEFILE|DIR\fR 4

Download (*(L"save as*(R") to a different file or directory

\fB-t\fR 4

Create a new torrent file

\fB-t \s-1URL\s0\fR 4

Tracker's s-1URLs0

\fB-v\fR 4

Verbose output (for debugging)

\fB-x\fR 4

Decode metainfo (torrent) file only, don't download

\fB-z SLICE-SIZE\fR 4

Download slice/block size, unit s-1KBs0 (default 16, max 128)

## DESCRIPTION

CTorrent is a BitTorrent Client program written in C/*(C+. Fast and small are CTorrent's two strengths.

s-1EXAMPLESs0

ctorrent -s save.iso -e 12 -C 32 -p 6881 iso.torrent

## ENVIRONMENT

None.

## FILES

None.

## SEE ALSO

azureus|(1) bittornado|(1) bittorrent|(1) ktorrent|(1) qbittorrent|(1) qtorrent|(1) rtorrent|(1) transmission-cli|(1)

## AUTHORS

This manual page was written by Jari Aalto <jari.aalto@cante.net>, for the Debian s-1GNUs0 system (but may be used by others). Released under license s-1GNUs0 s-1GPLs0 v2 or (at your option) any later version.

The program development was discontinued 2006-06-07. See project page https://sourceforge.net/projects/ctorrent