AriaNg icon indicating copy to clipboard operation
AriaNg copied to clipboard

Select destination path when adding file

Open woj-tek opened this issue 6 years ago • 7 comments

It would be very handy to be able to select destination path from the "Download panel". Currently, it's possible to type the path by it's not that handy as clicking "select path" and navigating to desired location.

woj-tek avatar Sep 30 '18 15:09 woj-tek

It is impossible for a web front end to know the file system hierarchy of the server, which you have no information about. I would like to suggest using the default dir set globally and use better tools (e.g. a bunch of bash scripts) for file management. If you want this feature anyway, you can ask aria2/aria2 for the API, despite that this feature has been rejected for dozens of times.

no1xsyzy avatar Oct 01 '18 04:10 no1xsyzy

file system hierarchy of the server

I'm not sure if we are on the same page - I would like to choose location on my computer where the file would be stored after downloading.

use better tools (e.g. a bunch of bash scripts)

I would argue that those aren't necessarily better ;-) (handy at times, but…)

If you want this feature anyway, you can ask aria2/aria2 for the API, despite that this feature has been rejected for dozens of times.

There is dir (https://aria2.github.io/manual/en/html/aria2c.html?highlight=dir#cmdoption-d) property you mentioned, and it seems that it's possible to set it globally (Aria2 settings -> basic settings) and it's possible to set it in download dialogue, but in the latter case you have to type it manually (vide https://addons.cdn.mozilla.net/user-media/previews/full/189/189863.png?modified=1530209437). But saying that I think, that this issue would once again fit better in https://github.com/RossWang/Aria2-Integration - correct?

woj-tek avatar Oct 01 '18 09:10 woj-tek

@woj-tek For some reasons like security, applications running in the browser cannot obtain directory information from the computer. So, AriaNg could not add this feature.

mayswind avatar Oct 01 '18 11:10 mayswind

OK, I was somewhat aware of that (obscuring path when selecting file to upload) yet I thought it would be possible in similar way as uploading works. However pondering it more, AriaNg passes path to aria2 so it won't work like that.

Trying to approach it from different angle - would it be possible to add a couple of predefined paths so it would be possible to:

  • select them from drop-down list
  • mark one of them as default
  • have the field as editable so you could change the path on the fly
    • nice benefit would be auto-creating path/directories if it doesn't exist.

woj-tek avatar Oct 01 '18 12:10 woj-tek

@woj-tek AriaNg supports history of download directory

mayswind avatar Oct 01 '18 12:10 mayswind

It doesn't seem to work for me - each time I have to type in complete path in the download dialogue (field it's empty and there is no history)

woj-tek avatar Oct 01 '18 13:10 woj-tek

Do you use the latest release version (0.5.0) ? When you successfully start a new task, AriaNg would save the dir directory setting, and you can click the text box and choose on of them next time. image

mayswind avatar Oct 07 '18 13:10 mayswind