Upload file to bucket with metadata from client side
Hey everyone!
I'm using the JavaScript library with Supabase client to upload/list/download files from client side. I would like to store custom metadata like the real filename.
Currently I upload like:
But when I list files, the metadata only shows system fields (eTag, size, mimetype), not my custom filename:
How do I retrieve the custom metadata I uploaded? Is there a getMetadata() method or different approach needed?
I'm using the JavaScript library with Supabase client to upload/list/download files from client side. I would like to store custom metadata like the real filename.
Currently I upload like:
But when I list files, the metadata only shows system fields (eTag, size, mimetype), not my custom filename:
How do I retrieve the custom metadata I uploaded? Is there a getMetadata() method or different approach needed?