How do you get information from the file's thorrant?



  • How do you get information from the file's thorrant? It's like a sauce of siders, leathers and size.



  • In Torrent File, he's got all the information on the file (or files) involved in the distribution. Without it, Bittorent's protocol will not be able to download anything. In general terms, the structure of the metadata file can be divided into three components.

    Internal torrent file is bencoding-data. The format of the file allows the following types of data to be stored: blue lines, numbers, lists and directives.

    In general terms, the format of the transcript is as follows:

    TDB

    <длина строки>:<строка>♪ Example: 5:xakep

    Chiss

    <ключ i><число><ключ e>♪ Example: i31337e

    Lists

    <ключ l><bencoding данные><ключ e>♪ Example: l5:xakep5:lamere

    Directives

    <ключ d><строка bencoding><элемент bencoding><ключ e>♪ Example: d5:coder6:spidere (Coder = DCider)`

    There are several predetermined directives on the specifications of the metadata file structure:

    • info is a directive to describe the characteristics of the files. Depending on the type of torrent file (usually one file or mixed file), this directive is applied differently. The directive includes: piece length, length of the file segment; pieces, xash sum of the segment obtained from the SHA1 algorithm. The difference between the application of the directive for customary and hybrid regimes is given in table 2;
    • - announce - anons URL;
    • announce list - list containing several announce URL;
    • create date - date of creation torrent file in Unix-time;
    • comment - Comment from the creator of the torrent file;
    • created by - name and version of the programme in which the torrent file was established.

    http://www.xakep.ru/magazine/xa/114/096/1.asp ♪


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2