I am genuinely confused about how to update an existing file, since storage.updateFile() doesn't take in the file object, there seems no way to overwrite an existing file other than deleteFile and then createFile again. I am working on node.js btw, this is the official node.js sdk declaration
updateFile(bucketId: string, fileId: string, name?: string, permissions?: string[]): Promise<Models.File>
Recommended threads
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- Create file is listing files instead of ...
This is a bit strange but, I cannot create files from within a funcion. I have tested with latest SDKs versions of node and python, both instead of creating the...
- Trouble Creating Database and Collection...
I’ve set up my project credentials (endpoint, project ID) and generated an API key. I’m currently focusing on creating only the database and collections (tables...