#update file
12 messages · Page 1 of 1 (latest)
Use a function to process the file on upload
how about the update file method in storage?
Maybe this will help: https://appwrite.io/docs/client/storage?sdk=flutter-default#storageCreateFile
so what is the concept of this https://appwrite.io/docs/client/storage?sdk=flutter-default#storageUpdateFile
?
since it has the term of 'update' file
Mhmm...look at the parameters
I think the method name should be revise into updatePermissionFile
or I hope we have this another method of replaceExistingFile
Honestly, I highly recommend creating a new file with a new ID if you're using the same bucket. This is because if you use the same ID, the file can be cached client side and would not be fetched again if updated
does that mean the process of updating file involve : 1. deleting old, 2.creating new file ?