[BitTorrent] HELP! "bad bencoded data" with new generated torrent

John Hoffman theshadow at shambala.net
Wed Mar 9 13:54:27 EST 2005

>I'm developping a torrent generator and I'm using BT 0.3.10 to test 
>my generated files. And I'm stuck with this error.
>The generated torrent pass my bdecoder and seems normal. I've 
>compared the Info Hash of my generated torrent with other torrent 
>generator programs and the Info Hash matches.
>So what I could be doing wrong here?!

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".

Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

More information about the BitTorrent mailing list