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

DirectDownload cannot correctly handle different directory. #34

Closed
maple3142 opened this issue Jan 7, 2019 · 14 comments
Closed

DirectDownload cannot correctly handle different directory. #34

maple3142 opened this issue Jan 7, 2019 · 14 comments
Labels
bug Something isn't working question Further information is requested

Comments

@maple3142
Copy link
Contributor

My default download folder in my PC is dir=C:/Users/Administrator/Downloads, but I usually use another download to start some download, which set the destination to C:/Users/Administrator/Downloads/dmhy.
And I have a nginx server on my pc, http://IP_OF_MYPC/Downloads/ points to C:/Users/Administrator/Downloads so that normal download can be correctly handled.
However, it doesn't work fine with files in C:/Users/Administrator/Downloads/dmhy.

@devgianlu devgianlu added the bug Something isn't working label Jan 7, 2019
@devgianlu
Copy link
Owner

What do you mean by doesn't work? Does it spit out any error? Check the logs.

@maple3142
Copy link
Contributor Author

I have a file in Downloads/dmhy , and the path of DirectDownload is set to http://IP_OF_MYPC/Downloads.
When it try to download the file, however, the link will be http://IP_OF_MYPC/Downloads/thefile but not http://IP_OF_MYPC/Downloads/dmhy/thefile .

@devgianlu
Copy link
Owner

How do you set the path for the downloads in dmhy?

@maple3142
Copy link
Contributor Author

I use other external cli tool to start the download with RPC, and it also select a different download destination.
Having an option to set a reference such as C:/Users/Administrator -> http://IP_OF_MYPC would be good.
Since downloaded files are not always located at default dir.

@devgianlu
Copy link
Owner

I can understand why this doesn't work. I'll try to come up with a solution.

@devgianlu
Copy link
Owner

devgianlu commented Jan 8, 2019

@maple3142 Could you send a screenshot of the Info tab of one of these downloads? I'm interested on what Destination directory is.

@devgianlu devgianlu added the question Further information is requested label Jan 8, 2019
@maple3142
Copy link
Contributor Author

@devgianlu
Copy link
Owner

devgianlu commented Jan 8, 2019

That should be now fixed. I'll publish a new release soon.

Checkout version 4.2.2.

@maple3142
Copy link
Contributor Author

Although it could get the correct url in latest version, but aria2app always failed to add any download.
It is possible to call external downloader to do so?

@devgianlu
Copy link
Owner

Unluckily it is not possible due to the fact that they require additional information to be passed to the client. How does it fail? Gives an error message immediately or fails afterwards?

@devgianlu devgianlu reopened this Jan 9, 2019
@maple3142
Copy link
Contributor Author

Whenever I start to download anything, there's a toast said Failed adding the new download.

@devgianlu
Copy link
Owner

devgianlu commented Jan 9, 2019

As a temporary workaround, try stopping the app from the system settings.

@maple3142
Copy link
Contributor Author

Sorry, I found the reason why it doesn't work it that Aria2App doesn't have storage permission in app's settings page. It works when I enable it.

Besides, how I can copy or download the file through external downloaders?

@devgianlu
Copy link
Owner

I added an option in the preferences under DirectDownload to send the URL to another app. I'll release a new version soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants