开发者

jets3t and Downloading Files from AmazonS3 with Different Name

开发者 https://www.devze.com 2022-12-26 17:08 出处:网络
We\'re using Amazon S3 for file开发者_JS百科 storage and recently found out that we need to keep some sort of directory structure. Since S3 doesn\'t allow that, we know we can name the files according

We're using Amazon S3 for file开发者_JS百科 storage and recently found out that we need to keep some sort of directory structure. Since S3 doesn't allow that, we know we can name the files according to their structure for storage. For example...

abc/123/draft.doc

What I want to know is if I want to provide a public link to this particular file is there anyway that the file can simply be draft.doc instead of abc/123/draft.doc ?


I feel stupid. After some more investigation I realized that by creating a GET url to the resource, I get exactly what I need.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号