[go: up one dir, main page]

Menu

#193 RPC getFolders

open
nobody
5
2012-09-28
2011-03-29
No

aria2.getFolders [options]
Send a list of folder (Recursively or not) from the default "dir".

Discussion

  • tujikawa

    tujikawa - 2011-03-29

    Could you explain what it returns exactly, when, for example, dir="/tmp/mydownlods"?
    How do you use this method for what?

     
  • Christophe Faure

    I have in a remote server an aria2c daemon, i plan to allow any user to download and save in a common folder hierarchy. I want to expose the current folder tree under /downloads/shared/...... to let the user chose or create a software/file category to store the downloaded file.

    For now i have very simple aria2r command in python that download in /downloads/user/XXX/.
    an example of the output could be the list of folder for dir="/downloads/shared" ie - non recursive -
    Multimedia
    Documents
    Software
    Devlopment Library

    -recursive-
    Multimedia/Music/Early Music
    Multimedia/Music/Classical/
    Multimedia/Music/Classical/Opera
    Multimedia/Music/Pop
    Multimedia/Music/Rock
    Multimedia/Music/Rock/Soft
    Multimedia/Music/Rock/Hard
    Multimedia/Music/Jazz
    Multimedia/Music/Jazz/Vocal
    Multimedia/Music/Jazz/NewOrlean
    ....

     
  • tujikawa

    tujikawa - 2011-03-30

    Thank you for clarification.

     

Log in to post a comment.