Jacalz / rymdport

Cross-platform application for easy encrypted file, folder, and text sharing between devices.
https://rymdport.github.io/
GNU General Public License v3.0
1.1k stars 57 forks source link

Add support for resending failed sends #86

Open Jacalz opened 1 year ago

Jacalz commented 1 year ago

Checklist

Is your feature request related to a problem?

It can be annoying to find the file, folder or text again if something fails. Adding a button to resend would make things easier.

Describe the solution you'd like to see.

Allow an option to press resend if it failed.

ihubgit commented 1 year ago

and even more so a button to resume where the download left off...

Jacalz commented 1 year ago

and even more so a button to resume where the download left off...

Resuming will be very complicated and might be problematic. We know how much we have sent, but do we know how much has been received (i.e. are they always the same if we get an error)? If we then restart, we need to only read new data from the file (requires io.ReadSeeker) and also open the receiving side without truncation. The code will become very complex. It might be doable but a full restart is better than nothing.