Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

File has 0 bytes when a completed download is started again.

Open aartikov opened this issue 4 years ago • 2 comments

Sample: https://github.com/aartikov/Fetch-Bug

Steps to reproduce:

  1. Remove line fetch.remove(download.id) // Workaround for https://github.com/tonyofrancis/Fetch/issues/553
  2. Select a directory, download file.
  3. Press "Remove".
  4. Press "Download". File is downloaded immediately. File size is zero.

aartikov avatar Jan 25 '21 09:01 aartikov

@aartikov. Is this issue happening for the same download request or different download request with different url?. Does the app have the proper write permissions?. Same issue on physical device and emulator? Different Android Versions?

tonyofrancis avatar Jan 30 '21 19:01 tonyofrancis

@tonyofrancis It is the same request - the same http url and the same local file uri. The app has permissions, because it can create a file. I have tried on a device with Android 9 and on emulators with Android 9 and Android 11. The same issue.

aartikov avatar Jan 31 '21 21:01 aartikov