Downloading torrent data via HTTP

This guide will show you how to set up a page providing all your torrent data for download through your browser. You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).

Table of contents

Setting up

The tool used by this guide is symbolic linking. This allows you to link to another file or directory elsewhere on the file system without doubling up on disk space used.

First of all, let's create a directory named links to hold the torrent data links in. Do this by copying and pasting the following:

mkdir -p ~/www/$(whoami).$(hostname -f)/public_html/links

Now, you can simply create the symbolic links for your torrent client(s) of choice by copying and pasting the commands below:

For rTorrent/ruTorrent, it's:

ln -s ~/private/rtorrent/data/ ~/www/$(whoami).$(hostname -f)/public_html/links/rtorrent_data

For Deluge, simply copy and paste:

ln -s ~/private/deluge/data/ ~/www/$(whoami).$(hostname -f)/public_html/links/deluge_data

For Transmission, it's:

ln -s ~/private/transmission/data/ ~/www/$(whoami).$(hostname -f)/public_html/links/transmission_data

Please note that if you create a broken link (i.e. if you haven't installed the torrent client), the links will result in a 404 error.

You can access the newly-created links through your browser. Replace server with your server name (e.g. argus) and username with your username in the URL below:

https://server.feralhosting.com/username/links/

Password protecting your links

You may wish to password protect the links directory created below, or you'll be publicly visible.