buckets.bucketid.files.*.create Does the file upload event fire up on chunks??? My logic relies if the file is fully uploaded then do manipulations with it, but i see a ton of events fired up when its not even done.
it works perfectly fine with smaller files, but i got 1mil email lists uploaded that are about 27mb in size..
Yep. In the function you can check if it's the last chunk
how would one do that?
Look at the event data
can you point me to an example if you know one ?
The payload of the event is always in the event data. If you're creating an account, you get the user. If you're creating a document, you get the document. If you're creating a file, you get the file
man i wish it was more easy to debug payloads here
Look at the response of the API: https://appwrite.io/docs/references/cloud/client-web/storage#createFile
const { $createdAt, $updatedAt, $permissions, signature, chunksTotal, chunksUploaded } = body;
i guess we check if chunksTotal == chunksUploaded
Thanks @Steven will look in to that
Recommended threads
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...