![]() In the single file case, the name key is the name of a file, in the Names, the last of which is the actual file name (a zero length list Path - A list of UTF-8 encoded strings corresponding to subdirectory Length - The length of the file, in bytes. The files list is the valueįiles maps to, and is a list of dictionaries containing Only having a single file by concatenating the files in the order theyĪppear in the files list. In the single file case, length maps to the length ofįor the purposes of the other keys, the multi-file case is treated as If length is present then theĭownload represents a single file, otherwise it represents a set of There is also a key length or a key files,īut not both or neither. The SHA1 hash of the piece at the corresponding index. It is to be subdivided into strings of length 20, each of which is Pieces maps to a string whose length is a multiple ofĢ0. Length is almost always a power of two, most commonly 2 18 =Ģ56 K (BitTorrent prior to version 3.2 uses 2 20 = 1 M as Possibly the last one which may be truncated. Split into fixed-size pieces which are all the same length except for Piece length maps to the number of bytes in each piece Suggested name to save the file (or directory) as. The name key maps to a UTF-8 encoded string which is the It possible for the file source to support very large numbers ofĭownloaders with only a modest increase in its load. ItsĪdvantage over plain HTTP is that when multiple downloads of the sameįile happen concurrently, the downloaders upload to each other, making It identifies contentīy URL and is designed to integrate seamlessly with the web. de), further info-hash clarifications, added resources for new implementorsīitTorrent is a protocol for distributing files. com), correct the accepted and de-facto sizes for request messagesĠ ( the8472. Introduced some references to new BEPs and cleaned up formatting.ġ ( arvid. com), clarified that info-hash is the digest of en bencoding found in. com), clarified the encoding of strings in torrent files.Ģ ( arvid. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |