Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow aria2c to preserve directory structure #46

Open
MCOfficer opened this issue Nov 9, 2020 · 8 comments
Open

Allow aria2c to preserve directory structure #46

MCOfficer opened this issue Nov 9, 2020 · 8 comments

Comments

@MCOfficer
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Just noticed that according to the README, aria2c does not preserve directory structure while downloading.

Describe the solution you'd like
This is in fact possible by formatting the URLs file differently (See https://stackoverflow.com/a/28553355/7653274). This feature would best be hidden behind a flag, because it does make the file wget-incompatible.

@KoalaBear84
Copy link
Owner

True, first I thought it did, so I added it to ODD README, later I saw it (by default) doesn't support it, so I moved it as the second option and added the warning. It's sad that it doesn't do this, as it is very easy to add for them for the standard structure..

Hopefully I can add it. Probably must be a separate command line parameter which will create a second file?

@MCOfficer
Copy link
Contributor Author

MCOfficer commented Nov 9, 2020

  • parameter that creates a *-aria2c.txt file

  • always create a *-aria2c.txt file

  • parameter that makes the normal .txt file aria2c-compatible

pick one ¯\_(ツ)_/¯

@Chaphasilor
Copy link
Contributor

For what it's worth, I'm voting for the first option 😁

Second option seems unnecessary and the third option basically renders the URL file useless for most other things...

@KoalaBear84
Copy link
Owner

It will be better to focus on #20 because of the limited time.

@Chaphasilor
Copy link
Contributor

That's what I thought, yeah :D

@ztgasdf
Copy link

ztgasdf commented Jul 27, 2023

Bumping as #20 got closed due to metalink becoming essentially defunct.

@KoalaBear84
Copy link
Owner

Yes, let's reopen it. Might not be super easy, writing the file of course is, but determining the directory might not be, the file should be easy as that is already parsed as a filename.

Also need to take care about special characters, which are different in Windows and Unix, but that may be taken care of in Aria2.

@KoalaBear84 KoalaBear84 reopened this Jul 28, 2023
@maaaaz
Copy link

maaaaz commented Oct 29, 2024

This asked feature is really important as wget supports the keep directories function with the -x option ; but wget is not as fast as aria2c or axel (both are faster thanks to parallel multiple-segment download). And wget does not support proxy usage.

We really need ODD to allow to download fast while keeping directory structure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants