Skip to content

End user

Adrian Macal edited this page Mar 21, 2017 · 4 revisions

Leak is a torrent library, but it also delivers some end-user tools to demonstrate all its features.

leak

The application is limited working client. It allows you to download entire resource by specifing its hash, trackers and destination folder. It connects to the swarm, receives data and shuts down when the download is completed. It does not upload anything. It has not been implemented yet .

command line

leak download --hash 73b38c5f82a28d47efef94c04d0a839b180f9ca0
              --trackers http://bttracker.debian.org:6969/announce
              --destination d:\leak

additional options

--connector (on|off) (default: on)

     Actively search for peers and connect to them.

 --listener (on|off) (default: off)

     Listen to incomming connections and accept them.

 --port #value (default: random)

     Listen on specified port.

 --accept #countries (default: all)

     Accept only peers from the given countries; example: RU UA

 --metadata (on|off) (default: on)

     Use ut_metadata extension.

 --exchange (on|off) (default: on)

     Use ut_pex extension.

 --strategy (sequential|rarest-first) (default: rarest-first)

     Schedule pieces using specified algorithm.

 --logging (compact|verbose) (default: compact)

     Control the number of logs printed out.
Clone this wiki locally