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

robust file transmission #1051

Open
giiutfff opened this issue Jun 14, 2022 · 2 comments
Open

robust file transmission #1051

giiutfff opened this issue Jun 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@giiutfff
Copy link

When sending a big file under unstable network, the transmission often got interrupted. And the part already sent will be discarded. The file must be sent again from the start, and still risking the failure of interrupted network. Thus makes sending big files nearly impossible.
Is it possible to recover an interrupted transmission, and continue(resume) from the position of the file where already sent?

Another problem of file transmission is all pictures were sent last session(before app/device be restarted) will not be displayed. While received pictures are displayed just fine. I don't know is this a bug or intentional design, but it would be nice to display sent pictures as well(exclude those pictures failed the transmission). ie. Copy the pictures that were sent successfully to app data, so they can be displayed next session, even if the source file is unavailable.

Kind regards

@robinlinden
Copy link
Collaborator

When sending a big file under unstable network, the transmission often got interrupted

Yeah, there are some issues in the current file transfer implementation. A lot of opening/closing/seeking in files, but a refactor of that is in progress and should hopefully make things a lot faster.

all pictures were sent last session(before app/device be restarted) will not be displayed

This is by design right now, but I want to change that. It's part of the way Android's permission system is set up, so aTox can't access any files after the current session. I figure we can maybe generate smaller thumbnails and store them in aTox's internal store to have them keep working across sessions. :)

Thank you for the report!

@robinlinden robinlinden added the bug Something isn't working label Oct 29, 2022
@robinlinden
Copy link
Collaborator

#1180 should fix most of the stability issues with outgoing transfers, as well as speed them up a lot.

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

No branches or pull requests

2 participants