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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...