Skip to content
Back

Upload File Progress

  • 0
  • Flutter
  • Storage
Mosh Ontong
21 Oct, 2023, 14:14

how to get the percentage of file uploading? Does the Storage API provided a data of total percentage of file uploading, so that I can use this on my client side.

TL;DR
The user is concerned that the progress is only shown every 5MB, making it inaccurate. They are asking if there is a way to get the percentage of file uploading and if the Storage API provides this data. The solution is to use the callback parameter for the create file function. The Storage API uploads files in 5MB chunks. To get the percentage of file uploading, you can calculate it based on the size of each chunk uploaded.
Drake
21 Oct, 2023, 14:42

Yes, there is a callback parameter for the create file function. Keep in mind it uploads on 5mb chunks

Mosh Ontong
21 Oct, 2023, 15:35

does that makes me hindrance? like not accurate percentage of uploading?

Drake
21 Oct, 2023, 15:43

the user will only see progress every 5MB

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