I'm looking to upload large files and folders to AWS S3. While I understand that multipart upload is necessary, I initially wanted to zip the folder before uploading it. I tried using JSZip for this, but it proved to be too memory-intensive to be practical. Given that I have a Lambda function that unzips the files, I'm seeking a straightforward solution that:
Uploads efficiently using a multipart approach
Zips large folders before upload
If zipping is not feasible (as I've been working on this for days), what would be the best way to proceed? My current stack includes Next.js, Supabase, and AWS.