-
-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stop download file #227
Comments
Not possible at the moment |
ok is there any way to make downloading stop? because it downloads in the background I can't stop it if the screen dispose called |
This is the place where the http stream is received and store on disk: https://github.com/Baseflow/flutter_cache_manager/blob/develop/flutter_cache_manager/lib/src/web/web_helper.dart#L166 We would implement a way to cancel this and delete the file that is already being saved. I think we should add a method which checks if a url is being downloaded and add the url to some variable which is checked after each byte. |
just if file downloading kindly add a method to stop downloading the file stream thanks |
Btw, I'm closing it as a duplicate of #208 |
how to stop downloading file
The text was updated successfully, but these errors were encountered: