英文:
How to post a file into my s3 url in java?
问题
我正在尝试更多地使用AWS,并且我已经到了可以生成一个S3存储桶URL的阶段。现在我已经设置好了这个URL,我正在尝试将一个文档(文件)放入那个URL。在我尝试这样做时,是否有任何有用的文档或我应该知道的事情?我似乎在网上找不到任何关于Java用户的信息(也许我只是不擅长搜索,不知道)。谢谢。
英文:
I'm trying to practice using AWS more and I'm at a point where I can generate a S3 bucket URL. Now that I have that set up I'm trying to put a document (file) into that URL. Is there any useful documentation or things I should know when I try to do that? I can't seem to find anything on the web for Java users. (maybe I'm just bad at searching idk). Thanks
答案1
得分: 2
答案2
得分: 0
AWS上传文件到S3的示例:
https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-s3-objects.html#upload-object
您需要一个令牌才能从Java客户端访问您的账户资源,更多信息请参阅:https://aws.amazon.com/premiumsupport/knowledge-center/create-access-key/
英文:
AWS example of loading file to s3:
https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/examples-s3-objects.html#upload-object
and you would need a token to access you account resources from a java client more info here : https://aws.amazon.com/premiumsupport/knowledge-center/create-access-key/
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论