README.md in saber-1.0.1 vs README.md in saber-1.0.2

- old
+ new

@@ -97,16 +97,10 @@ jid = "x2@gmail.com" password = "y2" host = nil port = nil -And ~/.netrc, for ftp authenticate. - - machine seedbox - login x - password y - Start saber-server at server side. # ~/.rtorrent.rc method.set_key = event.download.finished, saber-fetch, "execute= saber-drb_add, (d.get_hash), (d.get_custom1)" @@ -117,13 +111,20 @@ $ aria2c --enable-rpc --save-session session.lock -i session.lock $ saber client -V +Test if it works + + (server) $ saber drb_add <rtorrent_file_hash_id> saber + (client) > aria2 should begin download file from ftp://seedbox/bt/<file> + Automatically fetch: when a file is finished download in rutorrent with label 'saber', then it'll add to aria2. Manually fetch: right click 'Saber Fetch' in rutorrent web ui, then it'll add to aria2. + +Or from command line, send a download file to client: `saber drb_add <hash_id> saber` For ArchLinux, you can install `saber-server-daemon`, `user-saber-client-daemon`, `user-aria2-daemon` packages. #### ManualFetch @@ -176,11 +177,11 @@ user = "x" host = "y" Send files to seedbox - $ saber send hello.epub bt + $ saber send1 hello.epub bt > rsync -Phr hello.epub user@host:bt #### Clean Configure ~/.saberrc @@ -197,10 +198,13 @@ Install ------- _Main article_: [Install Saber](https://github.com/GutenYe/saber/wiki/Install) - $ [sudo] gem install saber + $ gem install saber + $ install it's dependencies + + Archlinux: pacaur -S saber Resources --------- * [Archlinux](http://www.archlinux.org): A simple, lightweight linux distribution.