cordova-plugin-file-transfer
cordova-plugin-file-transfer copied to clipboard
There's any way to resume downloads?
I need in my application to stop and resume downloads, we know in the plugin the OnProgress loaded but if download fails i want to download the loaded - total, anyone figured out how to get this done?
Looking up, i found this https://github.com/vaenow/cordova-plugin-pause-resume-download-demo but it's only limited for Android and iOS and i prefer if it's possible to use only this File Transfer plugin.
There are a couple background download plugins available, can send the links later today.
On Thu, Nov 22, 2018, 11:38 AM Erik Cunha [email protected] wrote:
I need in my application to stop and resume downloads, we know in the plugin the OnProgress loaded but if download fails i want to download the loaded - total, anyone figured out how to get this done?
Looking up, i found this https://github.com/vaenow/cordova-plugin-pause-resume-download-demo but it's only limited for Android and iOS and i prefer if it's possible to use only this File Transfer plugin.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/cordova-plugin-file-transfer/issues/213, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfNUACjgloO_bYqzaXaCGadZSVOXc5jks5uxtMWgaJpZM4YvqSV .
@brodybits i would appreciate it, but this background download plugins
can handle in case of failure? I mean, resume/start from failure?
Did you find any @brodybits ?
Thanks for helping @brodybits! I think this can get the job done.
@brodybits https://github.com/sgrebnov/cordova-plugin-background-download/issues/65 i don't think so. Still looking for an answer
Hi, any solution to this? My scenario is when the user puts the app to the background (Locking the device or minimising the app) during download, IOS suspends the application, I do not receive any errors or callback events. When I open the app again I have no idea what happened with the download as non of the events is being fired. I need to resume the download or at least know that it failed or did not finish.