andrewrk / node-s3-client

high level amazon s3 client for node.js
MIT License
1k stars 303 forks source link

adding ACL to S3 putFile #162

Closed svjacob closed 7 years ago

svjacob commented 7 years ago

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#putObjectAcl-property

I was wondering if it's possible to add an ACL to the uploadFile function. I want the uploaded files to be "public-read".

Or how simple would it be to add this? Or should I just use the aws-sdk for now.

svjacob commented 7 years ago

nvm you can just add it to params lulz, since you extended s3 default params