Compiled on Ubuntu 11.04.
Clone this repo:
$ git clone --depth 1 git://github.com/ph3nx/rTorrent.git
Improve the config:
$ cd rTorrent
$ vi .rtorrent.rc
Create new app and add some config vars:
$ heroku create --buildpack https://github.com/ph3nx/heroku-binary-buildpack.git
$ heroku config:set LD_LIBRARY_PATH=./lib
$ heroku config:set PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/app/bin
Push to your server:
$ git add -A
$ git commit -m "improved config"
$ git push -u heroku master
Run it in the background:
$ screen -s t1 heroku run bash -a APP
$ t
$ cd dl
$ ~/ftp -inv IP
Run with $ t
then press enter and paste a magnet link.
Select the torrent with arrow keys.
Press CTRL+S to start the download.
To view the files press right arrow key. Change their priority with space.
When the download is finished press CTRL+Q to quit rTorrent.
FTP
$ ftp user@server-ip
ftp> user USER PW
ftp> passive
ftp> cd /
ftp> put FILE
ftp> get FILE
ftp> bye
SCP
$ scp FILE USER@IP:/PATSH
CURL FTP upload
curl -T file ftp://server-ip --user username:password
If CTRL+S is not working add these lines to the .profile of your user
$ nano ~/.profile
stty ixany
stty ixoff -ixon