I’m having a little trouble following the storage ...
# help
s
I’m having a little trouble following the storage docs, it has a reference to events.file or something along the lines of that, but it does not explain what that is or how to get a file object to upload, can I have some help?
s
Do you mean
event.target.files
? this is a JavaScript thing, its not specific to Supabase storage. You can do a google search on file upload with javascript
s
That was part of my question but I also have no idea how to populate a file object in node or whatever, unless it’s just fs.open or whatever
s
As I said the original question is not Supabase specific, it's just something you can google to find the answer to
Which language/framework are you using? that way it might be easier for me to point you in the right direction on how to accomplish what you are after
s
Node JS
Yes I did google but Supabase isn’t very clear about what types It takes and does not provide many examples
s
2 Views