Is there a way to get a progress bar for the status of uploads to the server.
yes, there's a callback to the create file method. However, the progress is only in 5MB chunks
something is better then nothing
is there any specific way that I should submit the file to get progress
no
How do i check the chunks uploaded as it progresses
Got it thank you!
const uploadPromise = storage.createFile( getlinkedData.documents[0].bucketId, ID.unique(), draggedFiles[0], [], (progress) => { console.log(progress.progress) uploadProgress.set(progress.progress) // Update the Svelte store }
This is the ending code I got to make it work with JS. I am using SveltekIt
[Solved] Progress Bar for storage uploads
Recommended threads
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...
- GitHub Student Login Loop Issue
signed up using my GitHub Student Developer Pack. However, whenever I click "Sign in with GitHub", I get stuck on the login page. No matter how many times I try...
- Google OAuth Not Working on Brave/Firefo...
I'm having an issue with Google OAuth in my React + Appwrite app. After login, the dashboard is accessible only in Microsoft Edge, but fails in Brave and Firefo...