jarooda / jarooda.github.io

Personal Website
https://jaluwibowo.id/
MIT License
0 stars 0 forks source link

blog/upload-next-shadcn-to-aws-s3/ #38

Open utterances-bot opened 4 months ago

utterances-bot commented 4 months ago

Upload File Menggunakan Next.js + Shadcn Ke AWS S3 Bucket - Jalu Wibowo

Berbagi pengalaman dan tutorial untuk membuat sebuah file upload sederhana menggunakan Next.js, Shadcn dan AWS SDK.

https://jaluwibowo.id/blog/upload-next-shadcn-to-aws-s3/

mcportal0 commented 4 months ago

good information thanks for sharing

mcportal0 commented 4 months ago

I have a question, how can I upload two different files, each with its own independent entry? What would the ContentType also be like if they are of different types?

command = new PutObjectCommand

jarooda commented 4 months ago

This example is created to only upload files one by one, for multiple files, you can generate a separate component for each file. The Content-Type should match the type of each uploaded file.