Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

How to check the file is fully downloaded ????

Open ptatiya opened this issue 3 years ago • 1 comments

suppose my file size is 100 mb and i downloaded file upto 50 mb and closed app and reopen the app and click on that file so app getting crash because it is not fully downloaded ..and when i checked the file size at device it is showing 100 mb ...so can you please help me to get me the actual downloaded file size to check the file is fully downloaded or not ...how to get actual downloaded file length ?

and one more thing how to cancel the ongoing download ?. I also implement with your cancel method but when you again go to that page it is downloading again without click on start

ptatiya avatar May 06 '21 13:05 ptatiya

What I do is I download files in a /tmp/ folder, then when onCompleted is called I move the completed file from the /tmp/ folder into the correct folder.

Awsom3D avatar May 14 '21 15:05 Awsom3D