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

🐛 Bug Report: Upload Progress function of Storage API is not working #5279

Open
2 tasks done
vlohar08 opened this issue Mar 25, 2023 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working product / storage Fixes and upgrades for the Appwrite Storage.

Comments

@vlohar08
Copy link

👟 Reproduction steps

Try to upload a file of size less than 5 MB.

👍 Expected behavior

The progress callback function should work for every file.
The size of images is usually less than 5 MB.
And if there is no progress indicator for upload then the client will go crazy.

👎 Actual Behavior

The progress callback was not working.
And I know why this happens as I asked this question on discord first and got this response from Steven.

Steven: So we chunk our uploads in 5MB increments. So to see the progress, you'd have to upload bigger than 5MB

🎲 Appwrite version

Version 1.2.x

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@vlohar08 vlohar08 added the bug Something isn't working label Mar 25, 2023
@joeyouss
Copy link

Hi, thank you for opening this issue. We will look into improving this.

@stnguyen90 stnguyen90 added the product / storage Fixes and upgrades for the Appwrite Storage. label Apr 3, 2023
@KangHidro
Copy link

Hi, any update on this issue? 🥹
It will be great If there is a "chunkSize" param sent to onProgress function or a .env setting like that 🥹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / storage Fixes and upgrades for the Appwrite Storage.
Projects
None yet
Development

No branches or pull requests

4 participants