
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
- Google Oauth not working on Windows
I am building a cross-platform app that requires Google sign in. So far it works on Android, iOS and Mac, but on Windows, I keep getting this error ``` Unexpec...
- Sam AWS CLI x Appwrite
Hello, I have a problem with my functions from Appwrite. Currently, we use AWS SAM CLI to simulate an API Gateway with Lambdas, where the client is initiated...
- Function does not have createDocument ac...
I have a function which I'm trying to have create a document in a collection. The collection in question has row security enabled and permissions set to grant u...
