NSA325v2: Transmission default download folder

azimuth
azimuth Posts: 8  Freshman Member
First Comment Fifth Anniversary
edited November 2018 in Personal Cloud Storage
Is it possible to change the default download folder for Transmission on NSA325v2? Currently I have to manually set the download folder per each torrent to my Video share, which I would like to be download folder per default. I checked the settings for Transmission but there is no option for download folder...

#NAS_Nov_2018

Accepted Solution

  • azimuth
    azimuth Posts: 8  Freshman Member
    First Comment Fifth Anniversary
    Answer ✓

    I have found a way to achieve this!

    1. In web UI, disable Transmission package
    2. If not enabled, enable Telnet in web UI
    3. Connect to the NAS via telnet. Login as root
    4. Run vi /usr/local/zy-pkgs/config/Transmission/settings.json and edit the setting download-dir to desired folder. I have changed to /i-data/md0/video/ which is the built-in Video share.
    5. In web UI, enable Transmission package. Now all files are placed to desired folder by default :)
    6. Disable telnet.

«1

All Replies

  • Ijnrsi
    Ijnrsi Posts: 254  Master Member
    I think it is not possible, I did the check also, and as what you did, no option to change default folder in Transmission, moreover, I tried to use hard link to mirror new folder as transmission download folder via telnet, but it always show operation not permitted.
    The only option I think is use NSA325 v2 default download server, and it is possible to change default download place.
  • azimuth
    azimuth Posts: 8  Freshman Member
    First Comment Fifth Anniversary
    Answer ✓

    I have found a way to achieve this!

    1. In web UI, disable Transmission package
    2. If not enabled, enable Telnet in web UI
    3. Connect to the NAS via telnet. Login as root
    4. Run vi /usr/local/zy-pkgs/config/Transmission/settings.json and edit the setting download-dir to desired folder. I have changed to /i-data/md0/video/ which is the built-in Video share.
    5. In web UI, enable Transmission package. Now all files are placed to desired folder by default :)
    6. Disable telnet.

  • Oscwo
    Oscwo Posts: 37  Freshman Member
    First Comment Friend Collector Second Anniversary

    Hi,

    Have been looking to solve this myself but I did not manage by following your steps. Do you mind clarifying or seeing if I did something wrong?

    When I follow step 4 here I get:

    "

    ~ $ vi /usr/local/zy-pkgs/config/Transmission/settings.json

    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~

    • /usr/local/zy-pkgs/config/Transmission/settings.json 1/1 100% "

    I then enter:

    /i-data/md0/"Nameofmyfolder/

    and get: Pattern not found.

    I feel like I might have missed a step?

    Many thanks

  • Mijzelf
    Mijzelf Posts: 2,816  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    The location of the file on a NAS is different from the location on an NSA. At least the configurations of the packages, and the packages itself are separated from each other. I'd expect the package in

    /i-data/md0/admin/zy-pkgs/Transmission/

    but I don't know if the settings file is in …/config or …/etc.

  • Oscwo
    Oscwo Posts: 37  Freshman Member
    First Comment Friend Collector Second Anniversary

    Thanks for the input

    Mijzelf

    So you are saying to execute

    "

    /i-data/md0/admin/zy-pkgs/Transmission/ "

    On the last step? Have you heard of any other way of solving this problem? I have tried both to delete and reinstall the app, specifically downloading it to my new volume but the download folder is still located in my "Volume 1".

    I have even tried to delete that folder but Transmission automatically creates a new one there.

    Frustrating…

  • Mijzelf
    Mijzelf Posts: 2,816  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    'Execute' is the wrong word here. You are executing vi, with as commandline parameter the file you want to edit. The config file for Transmission on a NAS is probably '/i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json' (And forget the other path I gave, it's a mistake).

  • Oscwo
    Oscwo Posts: 37  Freshman Member
    First Comment Friend Collector Second Anniversary
    edited January 10

    I have to apologize because I'm completely experienced with this language and SSH in general.

    Ok, so I Execute vi.

    Then, you give me this:

    "

    /i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json"

    That sounds to me like just a file path to where the settings are. How do I then actually edit these settings? (What is the command I need to write?).

    When I loged in as Admin and then run:

    " vi /usr/local/zy-pkgs/config/Transmission/settings.json "

    Followed by:

    " /i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json "

    I get "Path not found".

    Many thanks.

  • Mijzelf
    Mijzelf Posts: 2,816  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    The editor is vi, the file-to-be-edited is '/i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json', so the full command to use the editor to open that file is

    vi /i-data/sysvol/.PKG/Transmission/config/Transmission/settings.json
    

  • Oscwo
    Oscwo Posts: 37  Freshman Member
    First Comment Friend Collector Second Anniversary

    Thanks again Mijzelf,

    That command seems to work I guess but what I wonder is how to use the editor?

    If my current download folder is "Transmission" on "Volume 1" and I want to change it to "Transmission" on "Volume 3" …

    What command(s?) would have to be entered?

Consumer Product Help Center