由于数字海洋空间API与AWS兼容,如何使用AWS为Yii2编程地将图像上传到数字海洋空间?
这里是我的细节
Good, we have the following data:
1. endpoint: fra1.digitaloceanspaces.com
2. bucket name: dev-abc
3. api key: xxxxxxxxxxxxx and api secret: xxxxxxx
4. The url that you need to use to deliver assets is https://dev-abc
我试过这个代码不起作用
$uploader = n