Back

Flutter - Listening file download current status

  • 0
  • Databases
  • Flutter
  • Storage
Geri
22 Apr, 2024, 15:51

Hello guys! :appwritepeepo:

I would like to track the current status of the file I just downloaded, but I don't know how. I download the file with getFileDownload, but I don't get any feedback about the current status of the file. Is there a way to track the download, for example like this: downloadTask.snapshotEvents.listen((taskSnapshot) async { print(taskSnapshot.state); })

TL;DR
Developers want to track file download status in Flutter using getFileDownload, but need a way to monitor the progress. One possible solution is to use `downloadTask.snapshotEvents.listen((taskSnapshot) async { print(taskSnapshot.state); })` for tracking the download status.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more