Best way to upload files from a form with solid-start?
Hey folks,
I was wondering what the best way to upload a file with solid-start would be?
Is there an easy way to use
createServerAction$
or should I expose an API-route?
(I couldn't really find any fully fledged examples, so if you know any, I would be very happy if you'd share them with me 🙂 )
Thanks in advance!7 Replies
I assume something like this should work?
What about dropping file on drag & drop surface, then stream it by websockets or how otherwise can we show progress bar?
Thanks @wobsoriano I'll give that a try 🙂
dont think that's possible with the current <Form> implementatiohn
I've seen it on internet, drag and drop upload of files showing percentages...
Check this solution with fetch and TransformStream - https://stackoverflow.com/a/69400632
Cool.