Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
inside_bitcomet [2011/01/13 14:57] greywizard Added privateflag wiki section id into the torrent file format section |
inside_bitcomet [2011/01/13 15:31] greywizard |
* **"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 includes empty directory when creating torrent, that is the file name here may be zero-length string. | * **"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 includes empty directory when creating torrent, that is the file name here may be zero-length string. |
| |
//Info <html><span id="privateflag">keys</span><html> common to **both** single-file and multi-file modes:// | //Info// <html><span id="privateflag", style=font-style:italic>keys</span></html> //common to **both** single-file and multi-file modes:// |
| |
* **"ed2k"**: (optional) 128 bit eMule hash for each file of the torrent; | * **"ed2k"**: (optional) 128 bit eMule hash for each file of the torrent; |
* **"piece length"**: number of bytes in each piece (integer); | * **"piece length"**: number of bytes in each piece (integer); |
* **"pieces"**: string consisting of the chaining together of all 20-byte SHA1 hash values, one per piece (byte string); | * **"pieces"**: string consisting of the chaining together of all 20-byte SHA1 hash values, one per piece (byte string); |
* **"private"**: (optional) if the torrent is a Private Torrent (SecureTorrent), it must only announce itself to the private tracker or to a single tracker at any time, if there are several trackers in the announce-list (integer, 0 or 1);(([[http://bittorrent.org/beps/bep_0027.html|Private Torrents]])); | * **"private"**: (optional) if the torrent is a Private Torrent (SecureTorrent), it must only announce itself to the private tracker or to a single tracker at any time, if there are several trackers in the announce-list (integer, 0 or 1)(([[http://bittorrent.org/beps/bep_0027.html|Private Torrents]])); |
* **"publisher"**: (optional) the name of the torrent creator, if do not allow to be changed (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); | * **"publisher-url"**: (optional) the URL of the torrent creator if do not allow to be changed (string); |