HTTP Seeding

From VuzeWiki
Jump to: navigation, search

HTTP seeding allows content to be delivered via the HTTP protocol.

Through HTTP Seeding (or webseeding), the torrent creator can specify a fallback http:// based url from which peers may download pieces, thus allowing a standard HTTP server to be used for seeding torrents. This is only useful if you are the original creator however, and you actually must have a web server serving up the file.

Unless you are an advanced bittorrent user serving up your own torrents, you should leave this setting unchecked (the default).

Two forms of seeding are currently defined, the original webseed specification and the getright specification, both of which are supported.

See the BitTorrent Specification for details.

webseed[edit]

Content is addressed via a URL of the form

<url>/webseed?info_hash=<hash>&piece=<piece_number>[&ranges=...]

getright[edit]

Content is addressed by file name and HTTP range commands used to access subranges.

For simple torrents with a single file the HTTP seed URL is that of the file itself.

For multi-file torrents the HTTP seed URL is that of the 'folder' that contains the files in the torrent.

Vuze as an HTTP Seed[edit]

Vuze can itself act as an HTTP seed if you enable the HTTP seeding via Tools->Options->Connection - see the HTTP section on that page.

When you do this Vuze will start an HTTP server on the specified port and respond to 'getright' style requests using a file name structure of

http://<host>:<port>/files/<info_hash>/<file_component>[/<file_component>...]

info_hash and file_component values are URLEncoded with the ISO-8859-1 character set. UTF-8 is not used as the torrent file format does not define the character set of file names and therefore a byte encoding is required.

For example, for the Vuze 'how to video' torrent with hash '2BD2EDB7226FF7B8C9E32FC0C071356DAAC30EFA' and file name 'Turn_on_device_playback_and_add_devices[azprefix01750490].mov' seeding on Vuze with an IP address of 127.0.0.1 and HTTP seeding port configured to be port 8080 the HTTP seed URL would be

http://127.0.0.1:8080/files/%2B%D2%ED%B7%22o%F7%B8%C9%E3%2F%C0%C0q5m%AA%C3%0E%FA/Turn_on_device_playback_and_add_devices[azprefix01750490].mov

This allows you to create torrents and then seed them over HTTP as well as via the bittorrent protocol.