Replies: 2 comments 5 replies
-
Do you have a hard requirement that your uploads are done via socket.io ? I use feathers in some cases with socket.io, but I opt to handle my uploads via http/s as there's just more support there. |
Beta Was this translation helpful? Give feedback.
-
I have done this before for a client project that needed resumable file uploads for very large files. It ended up working quite well but was quite a bit of work, both on the frontend and the backend. We basically created an upload service that on On the client, the HTML5 file API was used to read the file and split it into those chunks. That way it was also possible to reliably show the upload progress and easily resume uploads (when the connection dropped or even after the browser was closed). |
Beta Was this translation helpful? Give feedback.
-
how to upload file using socket.io transport with feathersjs v5 ?
the simplest way I found is to encode the file as base64 and send it as string with the form other data.
but this solution will not show file upload progress . and will need to be handled in backend too.
... etc
so any other solution ? which support :
thank you
Beta Was this translation helpful? Give feedback.
All reactions