BTPD(1) | User Commands | BTPD(1) |
btpd - BitTorrent Protocol Daemon
btpd [-d dir] [-p port] [OPTIONS...]
Btpd is a utility for sharing files over the BitTorrent network protocol. It runs in daemon mode, thus needing no controlling terminal or gui. Instead, the daemon is controlled by btcli, its control utility, or other programs capable of sending commands and queries on the control socket.
btpd consists of the following programs:
All programs accept the --help option.
To start btpd with default settings you only need to run it. However, there are many useful options you may want to use. To see a full list run btpd --help. If you didn't specify otherwise, btpd starts with the same set of active torrents as it had the last time it was shut down.
btdp will store information and write its log in $HOME/.btpd. Therefore it needs to be able to write there during its execution. You can specify another directory via the -d option or the $BTPD_HOME variable.
It is recommended to specifiy the maximum number of uploads. Bittorrent employs a tit for tat algorithm, so uploading at good rates allows for downloading. Try to find a balance between uploads/outgoing bandwidth and the number of active torrents.
Note: You should only need one instance of btpd regardless of how many torrents you want to share.
Start btpd with all options set to their default values.
$ btpd
Start btpd as above, but with torrent data in the directory /var/torrents
$ btpd -d /var/torrents
Start btpd and make it listen on port 12345, limit outgoing bandwidth to 200kB/s, limit the number of peers to 40 and not start any torrents that were active the last time btpd was shut down.
$ btpd -p 12345 --bw-out 200 --max-peers 40 --empty-start
If btpd has shut down for some unknown reason, check the logfile for possible clues.
Known bugs are listed at http://github.com/queueRAM/btpd/issues
Before submitting a bug report, please verify that you are running the latest version of btpd.
Current maintainers:
- Marq Schneider <queueRAM@gmail.com>
Past contributors:
- Richard Nyberg <btpd@murmeldjur.se>
btcli(1) btinfo(1)
2010-07-31 | BitTorrent Protocol Daemon 0.16 |