Next.js Discord

Discord Forum

Help with file streams.

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I made a file uploading app. Now because of the little trafic i have the fs is good enough. The file size limit i have set to 10 gb. The problem i think storing a 10 gb file in RAM and then storing it is not great. Now i would like to use streams but i don't know how to set it up. I would like to use formidable but i don't think its possible.

5 Replies

Transvaal lionOP
I used AI to change it from using the holding in RAM to streaming. As i did not find usefull sources online
Transvaal lionOP
Bump
Now if someone sees this. I would make a java spring backend to manage the file uploads and next js the frontend.
Is this a good ideea?