I want to execute a function after a file is finished.
I know there is "buckets . * . files . * . create" event, but it fires on every uploaded chunk of the file.
I want to only execute it once after the file is finished uploading.
Currently I check in my function if chunksUploaded == chunksTotal
Is there a specific event that i dont know of?
As per the docs, there's only a few events for Files :
buckets.*.files.*.create/update/delete.
I haven't really tried the events with file uploaded in chunks but it doesn't sound right to me. Create should usually be fired on complete file upload.
Maybe file an issue on Github.
Ya checking the chunks is the best option now
Recommended threads
- Appwrite loading issue with Nuxt UI
For some reason when I add nuxt ui to my nuxt 4 project, appwrite will build the project but the project website will load indefinitely. Without adding Nuxt UI,...
- I am not getting "to" when email receive...
I am using cloud function to send an email when email received it doesn't have "to" email address. Please see attached image. My cloud function detail: built w...
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...