Sign In | Sign Up

Post

BitComet - Torrent File Format
Size: Large, Medium, Small Thu Sep 13, 07 03:51 PM | Category: Help
17

Torrent File Format

The torrent file format below is used in BitComet v0.59 and later.

The content of a metainfo file (the file ending in ".torrent") is a bencoded dictionary, containing the keys listed below. Keys not marked 'optional' are always generated in BitComet:

  • "info": dictionary that describes the file(s) of the torrent. There are two possible forms: one for the case of a 'single-file' torrent with no directory structure, and one for the case of a 'multi-file' torrent, which can contain subdirectory trees.
For the case of the single-file mode:
  • "name": the filename of the file. (string)
  • "length": length of the file in bytes (integer)
For the case of the multi-file mode:
  • "name": the name of the top-most directory in the structure -- the directory which contains all of the files listed in the above files list. (character string)
  • "files": a list of dictionaries, one for each file. Each dictionary in this list contains the following keys:
  • "length": length of the file in bytes (integer)
  • "path": a list containing one or more string elements that together represent the path and filename. Each element in the list corresponds to either a directory name or (in the case of the final element) the filename. For example, a the file "dir1/dir2/file.ext" would consist of three string elements: "dir1", "dir2", and "file.ext". This is encoded as a bencoded list of strings such as l4:dir14:dir28:file.exte Important Notice: BitComet also inlcude empty directory when creating torrent, that is the file name here may be zero-length string.
For both cases:
  • "piece length": number of bytes in each piece (integer)
  • "pieces": string consisting of the concatenation of all 20-byte SHA1 hash values, one per piece (byte string)
  • "publisher": (optional) the name of the torrent creator if do not allow to be changed(string)
  • "publisher-url": (optional) the url of the torrent creator if do not allow to be changed (string)

 

  • "encoding": the string encoding (string), in v0.59 or above is always "UTF-8"
  • "creation date": the creation time of the torrent, in standard Unix epoch format (integer seconds since 1-Jan-1970 00:00:00 UTC)
  • "created by": name and version of the program used to create the .torrent (string), like this: "BitComet/0.59"

 

  • "announce": (optional) The announce URL of the tracker (string)
  • "announce-list": (optional) multitracker list (a list of string)
  • "nodes": (optional) A list of DHT Network nodes, each nodes is encoded as a 2-element list of host(string) and port(integer)
  • "private": (optional) if the torrent is PrivateTorrent(SecureTorrent), that is to announce only in tracker or tracker-list (integer, 0 or 1)

 

  • "publisher": (optional) the name of the torrent creator (string)
  • "publisher-url": (optional) the url of the torrent creator (string)
  • "comment": (optional) free-form textual comments of the author (string)

  Important Notice:

  • In BitComet v0.58 or before, the string is encoded using MSCB (user's code page), and a ".utf-8" key is added for UTF-8 encoded string.
  • From v0.59, the default encoding is changed to UTF-8 if the user's code page is neither Chinese nor Japanese. BitComet will still keep adding a ".utf-8" key for all string for backward compatibility, e.g. add a "name.utf-8" key to store utf-8 file name. After most of the users upgrade their client a few months later, BitComet may stop adding ".utf-8" key.The reason why Chinese or Japanese torrent keeps the old format is because most of the torrent site are not prepared for UTF-8 encoding. This situation may last for a rather long time. If you think it is better to move to all UTF-8 string torrent, please email us.
  • From v1.20, the default encoding was changed to UTF-8 for all languages, to meet BitTorrent official specification. BitComet will still keep adding a ".utf-8" key for all string for backward-compatibility.

See also:


Link: http://blog.bitcomet.com/post/413/ ©
Add to favorites | Quote Reads (56928) | Comments (11)

Related Posts

CommentsReload

30938 Mon Jul 7, 08 01:12 AM

I dont find Medieval2 total war game to download it. Can somebody help me to find i?


30938 Mon Jul 7, 08 01:13 AM

I dont find Medieval2 total war game to download it. Can somebody help me to find it?


30938 Sun Oct 24, 10 03:49 PM

Might be of use to someone, I found it a pretty helpful guide:

[url=http://dotwhat.net/torrent/1197/]torrent file[/url]


30938 Sat Apr 23, 11 08:30 PM
30938 Tue May 17, 11 12:19 AM

http://www.home-theaters.in http://www.contraceptivepills.in http://www.tramadoltobuy.net http://www.hairremovers.biz/ http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-for-Men http://www.hairremovers.biz/ http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-for-Men http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Spray-On-Hair-Removers-Cream-Sensitive-Formula http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Spray-On-Hair-Removers-Cream-Dry-Skin-Formula http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Hair-Removers-Gel-Cream-Sensitive-Skin-Formula http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Suprem-Essence-Spray-Hair-Removers-Cream http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-Bikini-Cream-for-Women http://www.hairremovers.biz/index.php?post/Facial-Hair-Remover-by-Bellabe-Facial-Hair-Remover-Misc http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Hair-Removers-Gel-Cream-Dry-Skin-Formula http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-for-Men http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Spray-On-Hair-Removers-Cream-Sensitive-Formula http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Spray-On-Hair-Removers-Cream-Dry-Skin-Formula http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Hair-Removers-Gel-Cream-Sensitive-Skin-Formula http://www.hairremovers.biz/ http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Suprem-Essence-Spray-Hair-Removers-Cream http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-Bikini-Cream-for-Women http://www.hairremovers.biz/index.php?post/Facial-Hair-Remover-by-Bellabe-Facial-Hair-Remover-Misc http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Hair-Removers-Gel-Cream-Dry-Skin-Formula


30938 Fri May 20, 11 09:26 PM
30938 Wed May 25, 11 05:13 AM

http://www.home-theaters.in Home Theaters http://www.tramadoltobuy.net Tramadol to Buy http://www.freeresumebuilder.ca Free Resume Builder http://www.shop4.bz Consumer Reviews http://www.guitarcenterreviews.info/ Guitar Center http://www.hometheaterreviews.in/ Home Theater http://www.eshopbeauty.net/ Beauty Supply Hair Salons http://www.hairremovers.biz/ Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-for-Men Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Spray-On-Hair-Removers-Cream-Sensitive-Formula Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Spray-On-Hair-Removers-Cream-Dry-Skin-Formula Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Hair-Removers-Gel-Cream-Sensitive-Skin-Formula Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Suprem-Essence-Spray-Hair-Removers-Cream Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Nair-Hair-Removers-Bikini-Cream-for-Women Hair Removers http://www.hairremovers.biz/index.php?post/Facial-Hair-Remover-by-Bellabe-Facial-Hair-Remover-Misc Hair Removers http://www.hairremovers.biz/index.php?post/Hair-Removers-by-Veet-Hair-Removers-Gel-Cream-Dry-Skin-Formula Hair Removers http://www.contraceptivepills.in Contraceptive Pills http://www.contraceptivepills.in/contraceptive-pills/11-yaz-contraceptive-pills.html Yaz Contraceptive Pills http://www.contraceptivepills.in/isotrexin-/32-isotrexin-.html Isotrexin http://www.contraceptivepills.in/andriol/31-andriol-.html Andriol http://www.contraceptivepills.in/androcur/33-androcur.html Androcur


30938 Wed May 25, 11 03:08 PM

http://www.contraceptivepills.in/divigel/37-divigel.html Divigel http://www.contraceptivepills.in/estrogens/16-estrogen.html Estrogen http://www.contraceptivepills.in/finasteride/34-finasteride.html Finasteride http://www.contraceptivepills.in/35-finasteride-5mg.html Finasteride 5mg http://www.contraceptivepills.in/38-tramal-retard-.html Tramal retard http://www.yogapant.biz/ Yoga Pant http://www.yogapant.biz/3-4-length-yoga-pants-yoga-clothes-thai-fisherman-pant/17-yoga-pant-3-4-length-fisherman-pant-hotpink-color.html Yoga Pant http://www.yogapant.biz/10-yoga-pant-toray-yoga-clothes-thai-fishermen-pants-toray Yoga Pant http://www.yogapant.biz/11-yoga-pant-lenin-yoga-clothes-thai-fishermen-pants-boutique Yoga Pant http://www.yogapant.biz/6-yoga-pants-for-women-yoga-clothes-thai-fishermen-pants Yoga Pant http://www.yogapant.biz/3-long-thai-fisherman-yoga-pants-yoga-clothes Yoga Pant http://www.yogapant.biz/3-4-length-yoga-pants-yoga-clothes-thai-fisherman-pant/11-yoga-pant-3-4-length-fisherman-pant-lightbrown-strip-color.html Yoga Pant http://www.yogapant.biz/5-yoga-pants-for-men-yoga-clothes-thai-fishermen-pants Yoga Pant http://www.yogapant.biz/3-4-length-yoga-pants-yoga-clothes-thai-fisherman-pant/14-yoga-pant-3-4-length-fisherman-pant-purple-strip-color.html Yoga Pant http://www.yogapant.biz/3-4-length-yoga-pants-yoga-clothes-thai-fisherman-pant/15-yoga-pant-3-4-length-fisherman-pant-red-strip-color.html Yoga Pant http://www.yogapant.biz/3-4-length-yoga-pants-yoga-clothes-thai-fisherman-pant/13-yoga-pant-3-4-length-fisherman-pant-lightblue-strip-color.html Yoga Pant http://www.yogapant.biz/7-3-4-length-yoga-pants-yoga-clothes-thai-fisherman-pant Yoga Pant


30938 Thu May 26, 11 03:58 PM

http://www.yogapant.biz/8-yoga-pant-cotton-yoga-clothes-thai-fishermen-pants-cotton Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/20-yoga-pant-long-fisherman-pant-dimgray-strip-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/21-yoga-pant-long-fisherman-pant-chocolate-strip-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/23-yoga-pant-long-fisherman-pant-red-color-design.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/24-yoga-pant-long-fisherman-pant-red-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/22-yoga-pant-long-fisherman-pant-purple-strip-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/25-yoga-pant-long-fisherman-pant-white-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/32-yoga-pant-long-fisherman-pant-lightblue-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/31-yoga-pant-long-fisherman-pant-lighgreen-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/33-yoga-pant-long-fisherman-pant-lightyellow-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/34-yoga-pant-long-fisherman-pant-pink-yellow-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/36-yoga-pant-long-fisherman-pant-green-orange-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/37-yoga-pant-long-fisherman-pant-green-red-color.html Yoga Pant http://www.yogapant.biz/long-thai-fisherman-yoga-pants-yoga-clothes/38-yoga-pant-long-fisherman-pant-lightgreen-orange-color.html Yoga Pant



TOP
You need to sign in before