访问AWS请求者付费存储桶(arxiv.org的用法) [英] Accessing an AWS requester pays bucket (usage for arxiv.org)
问题描述
我尝试了一些程序来尝试查找和下载arxiv.org请求者付费的存储桶,但没有成功.
我通过电子邮件发送给arxiv.org寻求帮助,但没有回复.如何在Windows 7x64上做到这一点?是否有人知道如何访问第三方请求者付费存储区的分步教程?如果我可以开始的话,我愿意在这里和YouTube上发帖并发帖.
I have tried a few programs to try to locate and download the arxiv.org requester pays bucket, but no success.
I emailed arxiv.org for help, but no response.
How the HECK to do this on Windows 7x64?
Does anyone have or know of a step-by-step tutorial on how to access third party requester pays buckets? I am willing to make one and post on here and on Youtube if I can just get started...
我要遵循的详细信息在:
The details I am trying to follow are on:
http://arxiv.org/help/bulk_data_s3
我尝试了各种程序(s3browser,bucketexplorer,cloudberry),但均未成功.似乎请求者付款需要更多特定信息才能找到arxiv.org网站未提供的信息.
I tried various programs (s3browser, bucketexplorer, cloudberry) with no success. It appears the requester pays buckets require more specific details to locate that the arxiv.org website is not providing.
现在我已经安装了亚马逊cli
Now I have installed amazon cli
输入我的凭据,并且我已经确认可以访问我的帐户存储桶,创建了几个文件夹,并且已经发送和接收了一些文件.
My credentials are entered and I have confirmed that I can access my account buckets, created a couple of folders, and have sent and received a few files.
当我尝试找到arxiv.org请求者付款时:
When I try to locate the arxiv.org requester pays bucket:
aws s3 ls s3://arxiv.s3.amazonaws.com/pdf/
我得到答复:
调用ListObjects操作时发生客户端错误(NoSuchBucket):指定的存储桶不存在
A client error (NoSuchBucket) occurred when calling the ListObjects operation: The specified bucket does not exist
我也尝试过:
aws s3 ls --add-header="x-amz-request-payer:requester" ls s3:/
/arxiv/pdf/arXiv_pdf_manifest.xml
我得到回应L
Unknown options: --add-header=x-amz-request-payer:requester,s3://arxiv/pdf/arXiv
_pdf_manifest.xml
我尝试过:
aws get "x-amz-request-payer:requester" arxiv/pdf/arXiv_pdf_1001_001.tar > arXiv_pdf_1001_001.tar
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument command: Invalid choice, valid choices are:
autoscaling | cloudformation
etc etc
也尝试过:
C:\z_amazonAWScli>aws s3 "x-amz-request-payer:requester" ls s3://arxiv/pdf/
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument subcommand: Invalid choice, valid choices are:
ls | website
etc etc
其他几种变化,没有响应.提前致谢,微小
Several other variations, no response. Thanks in advance, miniscule
运行aws s3 ls向我显示我的帐户文件夹.运行AWS S3 Ls S3://arxiv/pdf/arXiv_pdf_manifest.xml给我调用ListObjects操作时发生客户端错误(AccessDenied):访问被拒绝
Running aws s3 ls shows me my account folders. Running aws s3 ls s3://arxiv/pdf/arXiv_pdf_manifest.xml gives me A client error (AccessDenied) occurred when calling the ListObjects operation: Access Denied
推荐答案
让我们一步一步地解决这些错误.
Let us to work on these errors one by one.
-
对于命令
aws s3 ls s3://arxiv.s3.amazonaws.com/pdf/
的第一个错误,这意味着您没有正确设置权限.请登录管理控制台以检查权限.如果可以,请运行命令aws s3 ls
,是否列出了所有存储桶?
For the first error for command
aws s3 ls s3://arxiv.s3.amazonaws.com/pdf/
, that meaning you didn't set permission properly. Please login management console to check the permission. If can, could you please run the commandaws s3 ls
, do you get any buckets listed?
用于第二个命令 aws s3 ls --add-header ="x-amz-request-payer:requester" ls s3://arxiv/pdf/arXiv_pdf_manifest.xml
,该错误给出了原因,未知选项
,然后在github
for the second command aws s3 ls --add-header="x-amz-request-payer:requester" ls s3:/
/arxiv/pdf/arXiv_pdf_manifest.xml
, the error gives the reason, Unknown options
, and check in github https://github.com/aws/aws-cli, there is no this option --add-header
对于第三个命令 aws get
,它应该跟在您错过的子命令之后.
For the third command aws get
, it should follow with the subcommand, which you missed.
这是 aws get
$ aws get help
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument command: Invalid choice, valid choices are:
autoscaling | cloudformation
cloudfront | cloudsearch
cloudsearchdomain | cloudtrail
cloudwatch | cognito-identity
cognito-sync | datapipeline
directconnect | dynamodb
ec2 | elasticache
elasticbeanstalk | elastictranscoder
elb | emr
iam | importexport
kinesis | kms
lambda | logs
opsworks | rds
redshift | route53
route53domains | sdb
ses | sns
sqs | storagegateway
sts | support
swf | s3api
s3 | configure
deploy | configservice
help
最后一条命令似乎是类似的错误,您以错误的格式运行该命令.请务必先阅读awscli文件,尤其是s3部分.
The last command seems similar error which you run the command with wrong formation. Please DO review the awscli document first, especially s3 part.
这篇关于访问AWS请求者付费存储桶(arxiv.org的用法)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!