webui-aria2 icon indicating copy to clipboard operation
webui-aria2 copied to clipboard

How to rename?

Open dcaccount opened this issue 6 years ago • 5 comments

Hello, how can I give a different name to the file being downloaded? Thanks, Dan

dcaccount avatar Nov 24 '19 08:11 dcaccount

In short: --out=<filename>


Full description:

<task1url> <mirror1> <mirror2> ... --out=<local-name>
<task2url> --out=<another-name>

no1xsyzy avatar Nov 25 '19 05:11 no1xsyzy

In short: --out=<filename>

Full description:

<task1url> <mirror1> <mirror2> ... --out=<local-name>
<task2url> --out=<another-name>

Thanks and in the GUI where shall I write —out=, next to the link in URL field?

dcaccount avatar Nov 25 '19 07:11 dcaccount

Yes, it is analog to the command line interface of aria 2. All task-wise fields should be able to be specified like this. You can also quote spaces here, but support for quoting quotation marks is buggy.

no1xsyzy avatar Nov 25 '19 10:11 no1xsyzy

Thank you for the hint! Nevertheless, it would be great to have an extra text box next to the download uri box to save time and extra typing, since this might be the most frequent case for users to rename the file without having to store the string somewhere else waiting for the download to finish.

gl-dev avatar May 18 '21 11:05 gl-dev

@gl-dev saving as-is is way more used, and IIRC aria2 honors filename parameter of Content-Disposition header. And there is out in "Advanced settings" provided as-is by aria2c command line. The option name might come from wget or curl (they by default prints response to terminal.)

What's more, let me remind you that this project is not in rapid development. Last commit is April 2020. Like Latin, few people use aria2, then not many progresses need to be made.

no1xsyzy avatar May 19 '21 10:05 no1xsyzy