amahi / ios

Amahi iOS App
https://www.amahi.org/ios
GNU General Public License v3.0
43 stars 65 forks source link

Failed download does not reflect error or downloaded size. #365

Open ShresthPratapSingh opened 4 years ago

ShresthPratapSingh commented 4 years ago

Description

When a server is stopped while a file is being downloaded, no error is shown for download being interrupted and the file currently being downloaded shows the actual size.

How to Reproduce

  1. Navigate to a share and download a file
  2. While the file is being downloaded stop the server by using command : sudo systemctl stop amahi-anywhere

Issues Encountered

  1. The file does not show any kind of error or indication that this download was interrupted.
  2. The file size for the interrupted download shows the original section.(A file of 1.2 gb when interrupted at 7% shows a size of 1.2 gb in the downloads section).
  3. On sharing this file in the share sheet, it shows the partial size that was probably downloaded before it was interrupted.