https://supabase.com/ logo
#help
Title
# help
s

sudo killall windows

10/20/2021, 12:05 AM
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

silentworks

10/20/2021, 1:07 PM
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

sudo killall windows

10/20/2021, 8:25 PM
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

silentworks

10/20/2021, 8:27 PM
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

sudo killall windows

10/20/2021, 10:00 PM
Node JS
Yes I did google but Supabase isn’t very clear about what types It takes and does not provide many examples
s

silentworks

10/21/2021, 9:06 PM
2 Views