Start Torrents by Uploading Them: the Watch Folder
Your App Hosting service has a watch folder for each torrent client. Put a .torrent file into it, for example with your FTP program, and the client starts the download by itself. You do not have to open the web page of the client. The steps were tested with rTorrent on our demo service.
1. The Folders
In your downloads folder there is a folder watch with one folder per client:
downloads/watch/rtorrentfor rTorrent - ruTorrent;downloads/watch/delugefor Deluge;downloads/watch/transmissionfor Transmission.
Use the folder of a client that is installed on your service. On our demo service, all three folders were switched on in the settings of their clients; we tested rTorrent.
2. Upload a Torrent File
Connect with your FTP or SFTP program (Download files from server via FTP – FileZilla), open downloads/watch/rtorrent and upload the .torrent file into it. Over SSH you can also copy a file there, or download it straight into the folder with wget:
cd ~/downloads/watch/rtorrent wget https://example.com/file.torrent
rTorrent looks into its folder every 5 seconds. In our test, it picked up the torrent of a Linux image (347 MB) within seconds, and the download was finished in less than a minute.
3. See It in ruTorrent
The torrent appears in ruTorrent (1) like one you added there, and seeds after the download. The files are in downloads.
What Happens to the File
- The
.torrentfile stays in the watch folder while the torrent is in rTorrent. Leave it there. - When you remove the torrent in ruTorrent, rTorrent also deletes the
.torrentfile from the watch folder, so the torrent does not come back. In our test, this happened both with Remove (the downloaded files stayed) and with removing together with the data. - Only files ending in
.torrentare picked up. A magnet link cannot be put into the folder; add it in the web page of the client.
Download torrents from RSS feeds automatically instead: ruTorrent RSS: Download New Torrents Automatically.
