Results 1 to 2 of 2

Thread: [HowTo] Use Dropbox to download torrents on router

  1. #1

    Post [HowTo] Use Dropbox to download torrents on router

    This script allows you to add new tasks to a transmission torrent client on router. It uses official python Dropbox SDK.
    Please note, it requires a new Entware repository to work.

    0. Install Dropbox API from my repo
    $ opkg install python-dropbox
    1. Download script, attached to post
    $ wget -O /opt/tmp/tmp.gz
    $ gzip -cd /opt/tmp/tmp.gz > /opt/bin/
    $ chmod +x /opt/bin/
    $ rm /opt/tmp/tmp.gz
    2. Create access key for script
    Log on to, proceed here, and create a new application with a unique name. assigns APP_KEY, APP_SECRET pair to your application, please, write down those pair in appropriate script lines.

    Dropbox uses OAuth. You have seen this on other sites, it sound like "Logon using Facebook" or "Logon using Google account". Please, run script with "-s" key:
    $ -s
    Script offers you an URL, so copy it to browser. If all goes well, you will see this message. Press "Allow", go back to the router console and hit enter.

    4.Allow transmission to use watchdir feature
    Make sure transmission is not running and edit settings.json:
    $ grep -E "watch|trash" /opt/etc/transmission/settings.json
        "trash-original-torrent-files": true,
        "watch-dir": "/opt/etc/transmission/watchdir",
        "watch-dir-enabled": true
    5.Last check
    And make sure that REMOTE_DIR, LOCAL_DIR vars in script points to chosen Dropbox folder and to transmission watchdir folder.

    Better run this script from cron, mine runs every five minutes.

    Script checks your Dropbox folder, downloads new torrent files from here and gives it to transmission.

    A sign that everything works well is disappearing of original torrent-files from the DropBox folder. This means router "took" them to work.
    Last edited by ryzhov_al; 05-04-2012 at 12:55.

  2. #2
    Join Date
    Oct 2011


    Thank you very much, its working. But [howto] not full. Lamers cant understand what need to do

Similar Threads

  1. Replies: 102
    Last Post: 03-08-2016, 13:35
  2. Asus WL-330N3G Travel Router - 3G Router из коробки
    By Romtron in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 24
    Last Post: 09-09-2013, 15:38
  3. Установка SparkleShare сервера на роутере (аналог Dropbox)
    By in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 2
    Last Post: 26-01-2013, 21:25
  4. Transmission RSS direct-download
    By andyqp in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 7
    Last Post: 31-03-2009, 12:13
  5. HOWTO use your WL-500g as IPv6 router
    By phedny in forum WL-500g/WL-500gx Tutorials
    Replies: 8
    Last Post: 17-02-2008, 08:19

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts