Closed randomessence closed 10 years ago
Webui actually runs in a sandbox in browser, it cannot access any local files or even the files on the server (even if I want it wants to). This was a dilerate decision to make it easily deployable (save it locally and run it, host it behind any static web server etc). Right now all calls are forwarded to aria2. What it can do in a sandbox is to save cookies and restore them, which it does for gui related settings.
So what about being able to save/download a .conf file generated by the webui, based on settings loaded from aria2 + arguments and then any edited settings in the gui, as a feature of the webui?
Editing the default aria2 configuration file may not be very useful as most people use it through another computer, and its impossible to save the aria2 configuration file on the server from a remote PC. To tweak the webui, there is a configuration.js file that lives at the root of the project. You can change the aria2 config file however from the webui.
When you save the settings in the web gui is it supposed to update or create a settings/conf file somewhere?
On windows this does not seem to be the case. Even if I start the windows exe using
--conf-path=
, settings don't survive an exe restart. I had wondered if this was something to do with aria2c's defaults, even in the windows binary it uses/.aria2/aria2.conf
but is does not change anything when the conf path is set.Win 8 x64 / aria2c.exe x64 / web gui + firefox
If it note supposed to update or edit any files then maybe this could be considered.
Feature request:
Have the option to download the current Gui settings as a conf file that can then be used when starting aria2c?