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
Could you explain what it returns exactly, when, for example, dir="/tmp/mydownlods"?
How do you use this method for what?
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
....
Thank you for clarification.