We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
try { const upload = await storage.createFile('uploads', ID.unique(), file, [Permission.read(Role.any())], (uploadProgress) => { console.log('Progress', uploadProgress) }); console.log("Upload completed", upload); } catch (error) { console.error("Error while uploading file: ", error); } };
The console.log in the callback should be updated, so I can report the upload progress to the user.
Sadly, the callback isn't emitting any events. The file gets uploaded correctly.
Cloud Beta
MacOS
No response
The text was updated successfully, but these errors were encountered:
@mariusbolik thanks for creating this issue! 🙏 How big is the file you're uploading?
Sorry, something went wrong.
@mariusbolik would you please provide some more information. FYI, we'll need to close this due to inactivity soon.
The progress is only triggered if the file is over 5MB as the progress is updated per 5MB chunk.
stnguyen90
joeyouss
No branches or pull requests
👟 Reproduction steps
👍 Expected behavior
The console.log in the callback should be updated, so I can report the upload progress to the user.
👎 Actual Behavior
Sadly, the callback isn't emitting any events. The file gets uploaded correctly.
🎲 Appwrite version
Cloud Beta
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: