1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 07:42:37 +00:00
transmission/docs/Transmission-Resume-Files.md
Winton Simonds 0780104b8d
docs: update Transmission-Resume-Files.md (#6367)
explain that the resume file format is benc.
2023-12-24 14:48:09 -06:00

2.5 KiB

Transmission keeps working information on each torrent in a "resume" file. This file is stored in the 'resume' directory.

Filename: <torrent file name>.<hash?>.resume

The file contains the following per-torrent properties:

PropertyDescription
activity-dateDate we last uploaded/downloaded a piece of data
added-dateDate torrent was added
corrupttotal number of corrupt bytes downloaded
done-dateDate torrent finished downloading
destinationDownload directory
dndDo not download file integer list (one item per file in torrent) 0=download, 1=dnd
downloadedTotal non-corrupt bytes downloaded
incomplete-dirLocation of incomplete torrent files
max-peersMaximum number of connected peers
pausedtrue if torrent is paused
peers2IPv4 peers
peers2-6IPv6 peers
prioritylist of file download priorities (one item per file in torrent),
each value is -1 (low), 0 (std), +1 (high)
bandwidth-priority
progress
speed-limit
speed-limit-upTorrent upload speed limit
speed-limit-downTorrent download speed limit
ratio-limitTorrent file limit
uploaded
speed
use-global-speed-limit
use-speed-limit
down-speed
down-mode
up-speed
up-mode
ratio-mode
mtimes
bitfield

The file format is bencoding, as described in bep_0003.

Constants

Maximum number of remembered peersMAX_REMEMBERED_PEERS200