
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
- SMTP Error: Could not connect to SMTP
My appwrite self-hosted instance on DigitalOcean cannot sennd emails. The following results were performed Log: ``` docker compose logs -f appwrite-worker-mail...
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
