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

Some issues with using libaria2 to unpause downloads #2159

Open
ITSweets opened this issue Dec 29, 2023 · 0 comments
Open

Some issues with using libaria2 to unpause downloads #2159

ITSweets opened this issue Dec 29, 2023 · 0 comments

Comments

@ITSweets
Copy link

Hi guys. I've been using libaria2 for file transfers lately, but I'm having some issues. For example, using the pauseDownload function, pausing, and then specifying the save-session option for the libaria session using SessionNew to make it easier to persist to the aria2.session file, all this is all well and good. But after the program exits, you need to pass the session object to use unpauseDownload, but the session object is returned with SessionNew, which makes sense, right? Isn't this a new session object? Using SessionNew's option there is input-file pointing to the disk file I used to output with save-session, but using unpauseDownload still returns -1, how should this be solved? Or say that the program is paused, exited, and then started the program, and I want to continue downloading [not the beginning], what should I do?

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

1 participant