Re: HELP! "bad bencoded data" with new generated torrent
paritosh mahana <[email protected]> Wed, 9 Mar 2005 11:48:22 -0800 (PST)
| Newsgroups | gmane.network.bit-torrent.general |
|---|---|
| Message-ID | <[email protected]> |
My first question is wot is the "wb" and "w" stands
for...
> Nearly all the problems I've seen with .torrent file
> generation have
> been caused by the file being written in text mode
> rather than binary.
> Make sure you open the file using "wb" rather than
> "w".
See if we are torrenting a folder and lets say there
are 4 files in it.(a,b,c,d)
Say my bit torrent making code begins to make the hash
by keeping the file order(a,b,c,d).
And another bit torrent making client makes the hash
with the file order(b,c,a,d).
then the hashes made by my code and the other client
will be different.
So my question is, IS there any specification about
the ordering of the files.
ps:I am new to bit torrent..so please correct me if i
am wrong anywhere..thanks..
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/BitTorrent/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/