Create torrent download with Transmission

Technical issues/questions of an intermediate or advanced nature.
Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Create torrent download with Transmission

Post#1 by Jack » 25 Apr 2016, 01:44

Has anyone ever setup a file for torrent download? Here is a link how to create it but I need help with it. https://forum.transmissionbt.com/viewto ... =8&t=11900 and I found this in the link.
Let's start from the beginning, how do I create a new .torrent file:

1. Choose the tool I'll be using: transmission-create (a console tool);
2. See what options do I have:

Code: Select all

$ transmission-create -h
    Usage: transmission-create [options] <file|directory>

    Options:
     -h --help              Display this help page and exit
     -p --private           Allow this torrent to only be used with the specified
                            tracker(s)
     -o --outfile <file>    Save the generated .torrent to this filename
     -c --comment <comment> Add a comment
     -t --tracker <url>     Add a tracker's announce URL
     -V --version           Show version number and exit
3. Create the .torrent:

Code: Select all

$ transmission-create --private --comment "Just an example" --tracker "udp://tracker.openbittorrent.com:80/" --outfile example.torrent Something.mp4
    Creating torrent "example.torrent" ........................................................... done!
4. Check the result:

Code: Select all

$ transmission-show example.torrent
    Name: Something.mp4
    File: example.torrent

    GENERAL

      Name: Something.mp4
      Hash: 70390...
      Created by: Transmission/2.33 (12565)
      Created on: Wed Aug 10 12:01:20 2011
      Comment: Just an example
      Piece Count: 1099
      Piece Size: 1.00 MiB
      Total Size: 1.07 GiB
      Privacy: Private torrent

    TRACKERS

      Tier #1
      udp://tracker.openbittorrent.com:80/

    FILES

      Something.mp4 (1.07 GiB)
In point 3, the file name could have been given using the full path, say /external/videos/documentaries/Something.mp4; that path is not recorded in the .torrent, just the file name. Same goes if the contents is a directory, the full path is not recorded, just the directory. When you use the .torrent file the file/directory name becomes relative, you'll see how below.

The tracker I used works w/o having to register the torrent with them, the original .torrent file can be used with no other steps involved (you still have to make that .torrent file or the equivalent magnet link available to your peers so they can download).

Then I upload the .torrent file to my server, say (continuing to use terminal tools):

Code: Select all

$ transmission-remote --add example.torrent
The server will look at its "download" directory, as in:

Code: Select all

$ transmission-remote hpmediavault -n user:password -si     
VERSION
  Daemon version: 2.33 (12565)
  RPC version: 13
  RPC minimum version: 1

CONFIG
  Configuration directory: /opt/var/transmission/config
  Download directory: /opt/var/transmission/downloads      <--------------
  Download directory free space: 496.3 GiB
  Listenport: 2310
  Portforwarding enabled: No
  uTP enabled: Yes
  Distributed hash table enabled: Yes
  Local peer discovery enabled: No
  Peer exchange allowed: No
  Encryption: preferred
  Maximum memory cache size: 12.00 MiB

LIMITS
  Peer limit: 600
  Default seed ratio limit: 1.50
  Upload speed limit: 195 KiB/s  (Enabled limit: 195 KiB/s; Disabled turtle limit: 100 KiB/s)
  Download speed limit: Unlimited  (Disabled limit: 1.00 MiB/s; Disabled turtle limit: 1.00 MiB/s)

MISC
  Autostart added torrents: Yes
  Delete automatically added torrents: Yes
If it finds the contents, then verifies that it is the same file (the .torrent file contains 'checksums' for every piece), and starts seeding. If it doesn't find it, then tries to download unless I also specified to start paused (--start-paused).

Now if I wanted to use a different location on the server instead of its default download directory:

The sample.torrent file is the same;
The location can be changed when I load the .torrent:

Code: Select all

$ transmission-remote --download-dir /usbdrive/seeds/documentaries --add example.torrent
Or it can be changed "after the fact". Transmission-remote has parameter --move, Transmission-Qt has "Set location...", and so forth.
I will host the ISO and other if I can get it to work or try too. Transmission is part of Porteus so lets use it.
.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#2 by Bogomips » 25 Apr 2016, 11:25

@ Jack Moved to more advanced forum. (As requested, if deemed appropriate.)

Need to find out which
  • Trackers to use
  • Torrent Upload sites to use
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#3 by Bogomips » 26 Apr 2016, 13:57

  1. Create

    Code: Select all

    guest@porteus:~$ transmission-create --help
    Usage: transmission-create [options] <file|directory>
    
    Options:
     -h --help                    Display this help page and exit
     -p --private                 Allow this torrent to only be used with the
                                  specified tracker(s)
     -o --outfile   <file>        Save the generated .torrent to this filename
     -s --piecesize <size in KiB> Set how many KiB each piece should be, overriding
                                  the preferred default
     -c --comment   <comment>     Add a comment
     -t --tracker   <url>         Add a tracker's announce URL
     -V --version                 Show version number and exit
    
    guest@porteus:~$ transmission-create -o linux-source -c "Torrent Trial" -t http://tracker.bt-chat.com/announce p10/tmp/archives/linux-source-3.13.0_3.13.0-27.50_all.deb
    Creating torrent "linux-source" ....... done!
    
  2. Check

    Code: Select all

    guest@porteus:~$ mv linux-source linux-source.torrent
    guest@porteus:~$ ls -sh linux-source.torrent 
    32K linux-source.torrent
    
    guest@porteus:~$ transmission-show linux-source.torrent
    Name: linux-source-3.13.0_3.13.0-27.50_all.deb
    File: linux-source.torrent
    
    GENERAL
    
      Name: linux-source-3.13.0_3.13.0-27.50_all.deb
      Hash: 1701478be31d8d7b9779d5b61c725d25202ef249
      Created by: Transmission/2.84 (14302)
      Created on: Tue Apr 26 15:41:27 2016
      Comment: Torrent Trial
      Piece Count: 1491
      Piece Size: 64.00 KiB
      Total Size: 97.69 MB
      Privacy: Public torrent
    
    TRACKERS
    
      Tier #1
      http://tracker.bt-chat.com/announce
    
    FILES
    
      linux-source-3.13.0_3.13.0-27.50_all.deb (97.69 MB)
    
    
  3. Many captchas and failed registrations later: Upload (just captcha, no reg) http://www.seedpeer.me
  4. Torrent Download: http://www.seedpeer.me/details/11088721 ... ource.html
    ImageNow seeding and awaiting peer.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Create torrent download with Transmission

Post#4 by Jack » 26 Apr 2016, 15:38

I think this project is harder then it looks. So if someone can get it setup I'll be glad to host the files. On my part it was a bad idea to even bring it up.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#5 by Bogomips » 26 Apr 2016, 16:57

Naa. It's all a bit of a relax. 8) (After the terrible day I've had, starting with catching my hand on a wood screw in early hours of the morning, just missing a vein, followed by traffic chaos, missing me a doctor's appointment, and finally (these things supposed to come in threes) the water jug going off the boil )
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Create torrent download with Transmission

Post#6 by Rava » 26 Apr 2016, 22:55

Bogomips, on http://www.seedpeer.me/details/11088721 ... ource.html , why doesn't it say who created the .torrent, or which program was used?
Or is that just how seedpeer.me handles stuff, and other torrent seeder sites to display this info?
Cheers!
Yours Rava

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#7 by Bogomips » 27 Apr 2016, 00:58

Rava, as mentioned earlier, after multiple attempts it was easiest to just do an anonymous torrent upload. :wink: Just have to see if it all works now. :unknown:

P.S. Why not try download tomorrow, and see what it says?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Create torrent download with Transmission

Post#8 by Rava » 27 Apr 2016, 03:30

Bogomips wrote:Rava, as mentioned earlier, after multiple attempts it was easiest to just do an anonymous torrent upload. :wink: Just have to see if it all works now. :unknown:
I must have missed you mentioning why you went the anonymous .torrent way, you just mentioned that registering on seedpeer.me failed. But I presume that was the reason you went anonymous...
Bogomips wrote:P.S. Why not try download tomorrow, and see what it says?
Do I misread what seedpeer.me says?
Seeds 156
Peers 46
Seeds 156, that usually means that there are also a few with 100% uploaded among them, so, .torrent seems to work.

Also, the hash 1701478be31d8d7b9779d5b61c725d25202ef249 ... is that the hash for the single download file, or does that refer to the .torrent file itself and not means a way for the user to check if the .torrent download worked?
Cheers!
Yours Rava

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Create torrent download with Transmission

Post#9 by Jack » 27 Apr 2016, 03:32

Bogomips wrote:Naa. It's all a bit of a relax. 8) (After the terrible day I've had, starting with catching my hand on a wood screw in early hours of the morning, just missing a vein, followed by traffic chaos, missing me a doctor's appointment, and finally (these things supposed to come in threes) the water jug going off the boil )
Are you ok cause I open Pluma text editor to read that small message you wrote. I don't have much to do at at my age and the Forum give me something to do. And for me I broke 2 ribs trying to get my lawn motor started I'm not young anymore and that give me something to do too and I can't do that for now tell it heals. Sorry off topic delete if need to.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#10 by Bogomips » 27 Apr 2016, 11:29

Rava wrote: Also, the hash 1701478be31d8d7b9779d5b61c725d25202ef249 ... is that the hash for the single download file, or does that refer to the .torrent file itself and not means a way for the user to check if the .torrent download worked?
Your guess is as good as mine. :unknown: But I guess it could refer to the DHT Hash (see Wikipedia) for trackerless torrents.
Rava wrote:Do I misread what seedpeer.me says?
Seeds 156
Peers 46
Seeds 156, that usually means that there are also a few with 100% uploaded among them, so, .torrent seems to work.
Could be a confusion tactic. :roll:


@ Jack ok today, thanks. Both you and brokenman now with cracked ribs! Can try torrent now as Transmission now seeding. Let me know if anything starts getting downloaded. :)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Create torrent download with Transmission

Post#11 by Rava » 27 Apr 2016, 13:38

Bogomips wrote:Could be a confusion tactic. :roll:
I know that often the tracker info on websites is veeeeery outdated, maybe they show the best traffic in the last 24 hours?

Not that this would make any sense... :roll:
Cheers!
Yours Rava

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Create torrent download with Transmission

Post#12 by Jack » 27 Apr 2016, 16:18

Is this the files I should be downloaded "linux-source-3.13.0_3.13.0-27.50_all.deb"? That site is slow and transmission never started but it is there to be downloaded. Here is the link I use http://www.seedpeer.me/details/11088721 ... ource.html if wrong please give it to me.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#13 by Bogomips » 27 Apr 2016, 18:10

@ Jack Yes that's the link if it's the same as the one in my previous post. When you click on the green line, the browser should have asked what to do with it, and offer to open with Transmission.

Image

Who has got it? Uploaded to someone it seems. :Search:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Create torrent download with Transmission

Post#14 by Jack » 27 Apr 2016, 18:38

Bogomips wrote:@ Jack Yes that's the link if it's the same as the one in my previous post. When you click on the green line, the browser should have asked what to do with it, and offer to open with Transmission.

Image

Who has got it? Uploaded to someone it seems. :Search:
My transmission is been running 2h and 25m and it hasn't started to download yet. Here is a screen shot of error.
Image

Image
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Create torrent download with Transmission

Post#15 by Bogomips » 27 Apr 2016, 19:56

@ Jack
According to the screenshots, you are seeding, which must mean you have the file. :D
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply