visualight
5 years ago
4372
18
Laravel

Amazon S3 Upload ACL

Posted 5 years ago by visualight

Hello,

I try to upload a file to Amazon S3. If i do this, it work fine but the file is not accessible to public-read ACL.

Storage::disk('s3')->put($fileName, File::get($file))

Next, i try this but it doesn't work.

Storage::disk('s3')->put($fileName, File::get($file), 'public')

Can someone help me ?

Thank You

Please sign in or create an account to participate in this conversation.