0

So instead of going to the s3 page to set the s3 credentials. It isn't possible to call it to the API? for example on the json option

filepicker.pickAndStore({
    location: 'S3',
    bucket: '{bucketname}', //set here instead on the s3 settings page
    path: '/uploadpath/file.ext',
    access: 'public'
}, success function(InkBlob){
    console.log(InkBlob);
});

Or if this really isn't possible. Does it a good idea to include it for future use?

Thanks in advance

4

1 回答 1

1

我认为如果您想使用不同的存储桶,您需要创建两个不同的文件选择器应用程序,它们将使用不同的存储桶。因为当我们为应用设置 s3 时,我们应该填写“S3 Access Key ID”、“Secret key”和“S3 bucket”。看起来只使用了 s3 存储的那些设置

于 2013-09-24T12:20:12.693 回答