Rank 5: Hypervisor
how to update the file in storage, like for example the mp3 file will be update into wav file
Votes
0
Replies
10
Participants
Unknown
Messages
11
Rank 5: Hypervisor
how to update the file in storage, like for example the mp3 file will be update into wav file
Admin
Use a function to process the file on upload
Rank 5: Hypervisor
how about the update file method in storage?
Admin
Maybe this will help: https://appwrite.io/docs/client/storage?sdk=flutter-default#storageCreateFile
Rank 5: Hypervisor
so what is the concept of this https://appwrite.io/docs/client/storage?sdk=flutter-default#storageUpdateFile
Rank 5: Hypervisor
?
Rank 5: Hypervisor
since it has the term of 'update' file
Admin
Mhmm...look at the parameters
Rank 5: Hypervisor
I think the method name should be revise into updatePermissionFile
Rank 5: Hypervisor
or I hope we have this another method of replaceExistingFile
Admin
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