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

Fix disk related operations #38

Open
pawamoy opened this issue Dec 9, 2019 · 0 comments
Open

Fix disk related operations #38

pawamoy opened this issue Dec 9, 2019 · 0 comments
Labels
bug Something isn't working module:api

Comments

@pawamoy
Copy link
Owner

pawamoy commented Dec 9, 2019

I made a mistake. All disk operations are assuming the files are on the current filesystem. They will not work for remote systems. I'm not sure how to make it possible for remote as well.

I guess the best thing to do right now is to abort disk operation when the remote is not localhost and print a warning.

Secondly, a workaround to run disk operations on remote is to use them in callbacks on the remote server, with the aria2p listen -c /path/to/callbacks.py functionality. Run the aria2p listen command in a background process (&, maybe followed by disown, or with nohup).

Eventually, maybe we could implement a way to communicate between different aria2p instances, to be able to run disk operations on remotes.

@pawamoy pawamoy added module:api bug Something isn't working labels Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:api
Projects
None yet
Development

No branches or pull requests

1 participant