BapfelAPI aka Basti
BapfelAPI aka Basti
TTCTheo's Typesafe Cult
Created by BapfelAPI aka Basti on 3/20/2024 in #questions
Nextjs Upload to local Directory
I want to upload files to a local Directory. I know its not safe, but i already ha the upload page protected by a auth system using Lucia and i have to manually add the permission to let the users upload (the users are only my friends). I don't want to use the cloud because I'm potentially storing 100's of Gigabytes of data and i already own a dedicated Server, so i want to use that. I searched the web and could not find a Solution that does not limit the Upload size in any way(mostly 4GB because of node). If you have any ideas on how to implement something like that, i would appreciate the help!
2 replies