LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   process to automatically start bittorrent download (https://www.linuxquestions.org/questions/slackware-14/process-to-automatically-start-bittorrent-download-804365/)

zux 04-26-2010 04:25 PM

process to automatically start bittorrent download
 
this is not specifically a slackware related question, but since done on 2 slackware boxes...
so the situation is, i have one box for browsing and other desktop activities and another box acting as router/local server. what i want to achieve is that the router box would look on a nfs mounted folder for new *.torrent files (which i put there from the desktop box) and if there is a new file, it would start downloading it automatically. also a good thing would be if it would notify me when finished.
so how would you go about it? what torrent client would you use and so on? maybe someone has already done something like this?
it is preferred to only use official slackware packages if possible.

niels.horn 04-26-2010 04:36 PM

Take a look at rtorrent.
It can be configured to look at a "drop" directory (even a remote one) and automatically download torrents.
Just save the .torrent files there and wait for the file to arrive.

It also has the advantage that the machine it runs on does not need any Desktop Environment (KDE / XFce, etc) - it is completely text-interfaced.

<edit>
You can find a SlackBuild script here.
</edit>

mrclisdue 04-26-2010 04:39 PM

+1 rtorrent.

cheers,

zux 04-26-2010 05:13 PM

thanks, looks good at start, i'll try it out a bit more tomorrow.
forgot to mention that packages that can be downloaded from sbopkg are as good as slackware pacakges to me. so thanks again.

Slax-Dude 04-27-2010 04:00 PM

I used rtorrent for years and it served me well, but I switched to transmission because of the remote web-gui.
The transmission daemon is like rtorrent (no need for gui) and can be configured with a "watch dir" which will do what you described.

I use it with flexget, which scans rss feeds and downloads torrents from them to this dir, which transmission is watching starts downloading.

The web-gui is great to check on my downloads when I'm not at home.

I also have a script that asks the daemon which downloads are complete and removes them, but you can adapt it to send an email notification, I guess


All times are GMT -5. The time now is 01:31 PM.