问题
I am trying to use ink file picker's library to allow users to upload images to my S3 bucket. This works great for files from the file system, but files from the internet somehow don't have their permissions set correctly, so the returned path is not publicly readable.
store_options = {
path: 'product/'+product_url+'/',
access: 'public'
};
filepicker.pickAndStore({},store_options,function(InkBlobs){
console.log(JSON.stringify(InkBlobs));
});
There aren't a lot of knobs to turn here -- anyone have some advice?
来源:https://stackoverflow.com/questions/17417381/s3-access-public-not-working-for-files-from-internet-urls