web seeds (Page 1) / Protocol Design Discussion / µTorrent Community Forums
 

#1 2011-01-06 01:52:10

Jack000
Member

web seeds

I am trying to create a torrent file with a web seed (programmaticly, through bencoding), but it never seems to work. When I open the torrent file, it just says 0 availability and does not download. I am the only peer in the swarm, and the web seed is acting as an initial seed.

I also tried opening it in transmission, which displays the web seed url but refuses to download.

Is this the expected behavior when there are no peers? What am I missing?

here's some of my code:

                $torrent['announce'] = 'http://flashseed.com:2710/'.$passkey.'/announce';
        
        $torrent['info']['name'] = $file->name;
        $torrent['info']['piece length'] = (int) $file->piece_length;
        $torrent['info']['pieces'] = $file->pieces;
        $torrent['info']['length'] = (int) $file->size;

        $torrent['url-list'] = 'http://'.$server->address.'/files/'.$file->id;

                return $this->bencode($torrent);

you can also try it out at www.flashseed.com (in development!). The rest of the site works fine..

edit: using utorrent 1.02(23439) on mac osx leopard

Last edited by Jack000 (2011-01-06 01:55:55)

Offline

#2 2011-01-06 23:15:42

Jack000
Member

Re: web seeds

hm.. this may be a bug in the mac version of utorrent and transmission.

the download works fine in windows clients and vuze/azureus

Offline

Board footer

Powered by FluxBB

©2013 BitTorrent, Inc. µTorrent is a trademark of BitTorrent, Inc.