amir1376 / ab-download-manager

A Download Manager that speeds up your downloads
https://abdownloadmanager.com
Apache License 2.0
3.11k stars 155 forks source link

bug : Problem in the download location #162

Open Mahantor opened 2 weeks ago

Mahantor commented 2 weeks ago

I set the download location to the downloads folder, but my downloads are still stored in the ABDM folder

I am using the latest portable version

383011816-c989de24-da50-4f51-904a-fe182af30adc

amir1376 commented 2 weeks ago

@Mahantor Hi there.

This is because you are using Download Categories! (if you uncheck Use Category you will see no problem) The category download location is initialized with the default location (<user>/Downloads/ABDM/) when launching application for the first time which is <user>/Downloads/ABDM/Programs <user>/Downloads/ABDM/Compressed etc...

At the moment category folders does not updated automatically after changing default download location because they are saved as hard-coded (absolute path) so if you changed the default value then you should change each category download location too. (you can also press on Restore Defaults in category section right click menu which re-initializes the category folders with updated category download location based on your new download path)

I should add an ability to categories download location to accept variables for example instead of just hard-coding Category Download Location making it dynamic. for example something like this {{downloads_path}}/Programs in this way you don't have to manually change category download location each time you change the default download location

I consider this as an enhancement and I will add this in upcoming versions!