Skip to content
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

Add support for getting the progress of a file upload / download #465

Open
lirantzairi opened this issue Aug 30, 2020 · 2 comments
Open

Comments

@lirantzairi
Copy link

Hi,

When a user uploads a file in my app, I want to show him a progress bar. I'm looking for a way to listen to the amount of bytes sent in MultipartRequest, but I think it's not supported. Apparently you can do this with dart:io (https://stackoverflow.com/questions/50455131/flutter-how-to-get-upload-download-progress-for-http-requests?rq=1, https://medium.com/flutter-community/how-to-show-download-progress-in-a-flutter-app-8810e294acbd).

Can you add a support for this? Thanks.

@syedtalha
Copy link

also, if the same could be supported on web as well.

@tlueder
Copy link

tlueder commented May 28, 2021

Hi,

I've opened a PR to add a onSendProgress callback.

Any help in advancing it as much appreciated.

For example I have no idea how to write a meaningful test for this feature.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants