© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
FarkusZA

How to upload file to storage with custom metadata?

Hi there, I am uploading files using a file picker on my next.js with typescript website. My upload code is as below:
supabase.storage.from('blobid').upload(path, fileInput);

this works as expected but i would like to know if there is a way to add metadata to the file itself?
I'm looking to add things like status(Valid/Expired)
ValidUntil(yyyy/mm/dd)

Can this be done or is there another recommended way of joining a file from storage to a different table with all my required columns?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Clear out file metadata on upload to storage?
SupabaseSSupabase / help-and-questions
3y ago
How to upload a file to storage with the API?
SupabaseSSupabase / help-and-questions
3y ago
Upload file to bucket with metadata from client side
SupabaseSSupabase / help-and-questions
5mo ago
Multithread Storage file upload limits ?
SupabaseSSupabase / help-and-questions
5mo ago