Can I update a filename once a file is uploaded in a bucket
I cannot see anythig like that in docs.
Not for now, the only solution would be to upload a new one.
Is there a plan to support something like this
I didn't find any mentaion of that being on some roadmap. You can create a feature request for it though.
The reason is not available to my opinion is because when dealing with Appwrite's Storage there's no meaning for the file name as the actions of
- Accessing
- Previeweing
- Deleting Are sets by ID.
BTW what was your use-case that you needed to have the rename option?
@Binyamin I want to keep some files as archived. But I can't store any metadata in buckets so I want to give archived files special prefix to differentiate them
Understood. Then for now, only opening a feature request.
For a workaround, you can create another collection called archive in which you can add documents holds the storage files that have been archived.
And,
If you want to make more flexible, you can create files collection contains each storage file meta data
And, when the file is being archived move the document from files to c.
Thanks makes sense I think adding metadata to files can be a great feature
[Solved] Update filename once uploaded
Recommended threads
- How can I disable client-side account re...
Hi everyone! I’m currently building a game backend using Appwrite, and I’d like to prevent users from creating new accounts directly through the client. My go...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...