TurnKey Linux Virtual Appliance Library

Turnkey torrent AMI - How to upload a torrent file

Hi

I got an Amazon EC2 Turnkey torrent instance up and running...

My question:

Where / how do I upload a torrent file from my laptop harddrive to the AMI so it will run?

I am using a private bittorrent site that encodes my user info in the torrent file as I download it.

When I try to download it off the site when I am logged in - the torrent does not load ...

presumably because the AMI is not logged in to the site.

I know the torrent file on my computer includes the necessary info so it is tracked to my account on the site but I don't know how to load it manually.

Thanks in advance for the help

Wayne

Jeremy's picture

Have you tried the Firefox extension?

It can be found here

The other alternative would be to use sftp but I'm not 100% sure how you would then start the download. Probably worth having a read on the MLDonkey website (the software that handles the torrents).

Good luck.

Oops almost forgot - there's also the web interface - P2P-GUI!

There is also some handy setup info re ports etc which can be found in the TKL Documentation

Liraz Siri's picture

Firefox extension might not work on a private site

If you need a session cookie to access the torrent then Torrent Server won't be able to access it when you pass on the torrent URL through the Firefox Torrent Server handler extension.

Its tricky. You might want to try uploading your torrent file to one of the subdirectories in /var/lib/mldonkey/torrents.

Jeremy's picture

Ah - good point Liraz!

I'm not sure whether ML Donkey has the ability to cope with cookies or not, but if so that may be a good upgrade to the TKL Torrent appliance for next release?

What about the P2P-GUI/webgmui interface? You should be able to upload and start torrents with that shouldn't you? You would need to download the torrent file to your desktop first then upload it to TKL TorrentServer (to avoid the potential cookie issue). To access it in your browser - use your appliance IP followed by the P2P-GUI port number. I'm not sure of the port to use but it'd be on the confconsole screen (the blue screen that TKL boots to).

If using SFTP I think its probably worth consulting the ML Donkey documentation as many torrent handlers have a function where you can set an 'autoload' folder where all torrents drpped there autostart. This could be the easiest way to go?

FYI Liraz - uTorrent's web interface is possibly the only one I've seen with cookie upload function but I haven't tested it. I currently use uTorrent running on my virtual XP install because unfortunately I'm yet to come across an OpenSource torrent handler that has the fine grain config (different default sharing ratios for different torrents, start/stop and bandwidth scheduling, etc) that I want/need through a web interface. Azureus/Vuze is probably the closest but its such a resource hog and the web interface doesn't contain enough remote config options. Also its not ideal for headless server setup (it will run but apparently you need to install X for the initial config - still better than Windows though). I had previously setup an rTorrent/wTorrent server which worked well mostly but seemed to be a little unstable. I had a look at the TKL appliance and it looked great but unfortunately it didn't allow the level of control (through the web interface) that I wanted.

Liraz Siri's picture

Developing sub-components + configuring mldonkey...

1) We could try to patch the missing functionality into MLDonkey for the next release but that kind of change comes at a price - because then we can't use the regular Ubuntu/Debian package. The more we diverge from the stock distribution, the more work we have to do maintaining our changes so we try to avoid doing that unless there is a really good reason.

We will file bug reports with upstream or ask them to consider adding new features, but other then that usually we try to stay out of the way and stick to finding the best components and making them play nicely together, rather than get involved in the development of components that are not TurnKey specific (e.g., di-live, the confconsole, etc.).

2) What were the missing features in terms of level of control in TurnKey Torrent Server? You probably realize that the "basic" interface (P2P-GUI) hides most of mldonkey's features. The advanced web interface (and mldonkey itself) has an insane number of configurable options. I sort of suspect it might be possible to control what you want and you just aren't aware of it.

Jeremy's picture

Yes - more time developing new appliances, less time maintaining

So I totally understand and agree. Thats especially the case with new features, etc. Some things you will and do have to maintain yourselves to offer these appliances, so better not to make any more work for yourselves than you have to!

One of the main functions I miss when not using uTorrent is the bandwidth throttling/scheduling which you can configure for the whole week in hourly increments. Probably the deal breaker for me though is setting up auto seeding options. By default I want all torrents to seed 1:1.1 then autostop but I want a few to just constantly seed until I manually choose not to. I am happy to adjust this manually but I want to be able to do it easily (ie through a web interface, don't want to have to SSH in and have to remember commands or anything). Perhaps its available but blowed if I could find anything like it. Autoloading torrents are also useful but I imagine that would be available with the current appliance. Currently I have a folder on my TKL fileserver that uTorrent monitors and anything dropped in there autostarts with default settings.

I sometimes wish I had the inclination and patience to learn a bit more web programing!

PS sorry to hijack your thread Wayne.

 

 

Same

How about modifying just the Firefox handler. Instead of transmitting the link of the torrent file to the torrent server, maybe you can make it download the torrent locally then upload it to the torrent server. This should be an easy fix.

Torrent

I used to upload and download with torrent. No more. kinda risky. Rapidshare and megaupload. They are clean.

I have ZERO trouble finding a half dozen MLDonkey addins

I have had ZERO trouble finding a MLDonkey add-in for Chrome and Firefox.. I *DO* think that some of them have a bit of a security risk- they pass the password via HTTP url in plain text.

For the most part, I've tried making a simpler password (one that doesn't contain @ symbol) but in general, if you don't specify a username / password in the AddIns / Extensions, then MlDonkey will prompt.

PS - I had a LOT of trouble getting MLDOnkey to work with ANYTHING.. and then somehow I reverted to ports 4000, 4001 and 4080.. I wish I had more time to focus on testing that part.. but I swear, I kept on running APT-GET upgrades, next thing I know, everything reverted to the native ports (not 12321, etc).

That is when it really seemd like it started working better.

hope this helps someone :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)