Download & Extend

Need howto or document on using this module please

Project:BitTorrent
Version:6.x-9.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I need information on how to add torrents to this module ?

Comments

#1

To add a torrent go to "node/add" and select torrent from the list of node types and you should be able to crate a torrent node. I am putting together some documentation now on how to setup and use this module.

#2

I think it's really time for a little howto :) I was actually planning on writing one myself seeing as I just got the thing working tonight (i think) but i'm buggered if I can work out how to use it :P. What I _thought_ the module provided was the ability for a user to:

1. Upload a file, for example an image or zip file of some sort.
2. Have the server create the .torrent file for the attached image or zip or whatever.
3. Have that file seeded by the server (at the administrators discretion).

OR

1. Upload a .torrent AND/OR image/zip/whatever and have the server act as tracker and web seed.

I think I am not 100% certain on bittorrent technology and certainly not 100% up to speed on how this module is supposed to function!

For example, today after I got the module to work properly (i think) I created a new torrent node called "city lights" and uploaded City_lights.jpg, it said everything went fine and the resulting node included a link to a .torrent file, but it doesn't work! Azureus says:

"'/tmp/City_lights_in_motion-2.torrent' could not be opened:

Error reading torrent file '/home/mrintegrity/.azureus/torrents/City_lights_in_motion.torrent - Error reading torrent: BDecoder: top level isn't a Map"

So, I thought perhaps that I have to upload a .torrent file only. Therefore I create a .torrent of the same image in azureus and uploaded the .torrent, created the node and the .torrent I uploaded opens fine in azureus with the problem here being that, as there are no seeds, there is no way to download the file!

Not sure if I should open a separate issue for this so for now will just post it here.

Please help, thanks!

#3

Subscribing.

#4

There are currently two scenarios when using the bittorrent module:

  1. Upload a .torrent module: When you upload a .torrent file (I recommend creating them with Azureus) it adds it to the system and applies the appropriate changes including replacing the announce url (if configured). Depending on the scope setting of the tracker it will also add a passkey to the announce URL (at the time the torrent file is requested for download as these are unique to each user). Following the upload the module will track all users who are running the torrent on their computer. To act as a seeder, open the torrent file (I suggest pulling it down from the website instead of using the uploaded one) and tell it the location where the file you created the torrent from exists. Your client should detect it and start seeding after comparing SHA1 values. You might have to wait until your next announce to the tracker before showing up as a seeder.
  2. Upload a file (through FTP or some other method) to your server into your web seed directory and note the path. In your web browser go to the create content page and select torrent. Enter the path on your server to the file and Drupal will automatically generate the torrent for all files under that path. Download the torrent and start seeding as per the directions above.

Please feel free to let me know if I need to clarify more. If I can get a decent set of directions together I will include those in the module.

#5

Hi,

I am trying to get this to work, too, and am feeling a little stupid and/or confused.

so first question, how do i find my passkey?

second, here are the two configurations i've tried:
1. Bittorrent nodetype override announce url (http://www.mysite.net/announce.php), tracker settings -- private tracker, cached statistics, web seeding enabled bittornado.

When i create my torrent, i say it's private with http://www.mysite.net/announce.php. then i upload it at node/add/torrent. then on another machine i go to download it with my bittorrent client, and my log files say the following:

14:19:38: Status: Error regarding "VCAM.mov":
rejected by tracker - Missing Key: info_hash
14:19:38: Status: rejected by tracker - Missing Key: info_hash
14:19:38: Error: Error regarding "VCAM.mov":
Aborting the torrent as it could not connect to the tracker while not connected to any peers.
14:19:43: Error: Aborting the torrent as it could not connect to the tracker while not connected to any peers.

Method2: Tried setting everything to public, and said do not override announce url. Published my torrent file as public, uploaded it. Then I get this error:
14:19:00: Status: Error regarding "test.mp4":
rejected by tracker - Missing Key: passkey
14:19:00: Status: rejected by tracker - Missing Key: passkey
14:19:37: [4.27.2] [LocalDiscovery] announcing: 4a5c5b1d3cb3416222728a9db3806f46cf0d0ec5

Have also gotten this error:
14:25:28: Status: Error regarding "VCAM1500.mp4":
rejected by tracker - Missing Key: passkey
14:25:28: Status: rejected by tracker - Missing Key: passkey

At this point I am totally confused by what's going on. Can you tell me what is wrong?

#6

Did you download the torrent file from the site after uploading it? It adds your passkey to the announce URL when you download it from the site (the passkey varies per user).

#7

Version:5.x-2.0-beta2» 6.x-9.x-dev

I installed the module, updated for torrent in Uploads but when i try to download the file it cant find it.
Tried download the file from FTP, default/files, but that torrent didnt have tracker information added.

#8

The tracker information is added at download time the file within default/files is not being sent to the user. When you are viewing a torrent node a link should be displayed to get the torrent, that will pull down the correct file.

#9

When I click the link (http://mysite.net/torrent/download/131) it says the file could not be saved because the source file could not be read (Firefox).
EDIT: In IE I get "Internet Explorer cannot display the webpage" :P

#10

the document "install.txt" is OK
but after install this modules , i still don't know how to configure to make it work

could you please so kind to make a video or a screencast?

#11

Sure! I will get on this shortly. Thanks for the great idea!

#12

Status:active» closed (duplicate)

http://drupal.org/node/508044

#13

"I have the same problem as Guffaw.

I did a clean install of Drupal, enabled all the modules need (inclusively the content profile). I added a torrent field to a content type called bittorrent and uploaded a torrent that i created. When i view the node there is no file to download nor any field showing up.

Any pointer about what i am doing wrong are highly appreciated.

Cheers
sdk"

It is working now after re-saving the display field settings.

#14

I'm having this same problem. It seems as though I've created my node properly, but the torrent does not show up accurately. I'll happily provide any information needed to resolve this issue.

#15

Need to re-save the display settings on the "displays" tab under edit content type to get anything to appear.

#16

re-saving display fields (it was already set properly) helped fix install, thanks sdk and mitylite