s3バケットからローカルにファイルをコピーしようとしています。AWS CLI S3:端末を使用してファイルをローカルにコピーしています:致命的なエラー:HeadObject操作を呼び出すときにエラーが発生しました(0126)
aws s3 ls s3://myBucket/myDirectory/todaysFiles/
をしかし、私はローカルにファイルをコピーしようとすると:私は私のバケット上のファイルのリストを取得することができます
fatal error: An error occurred (404) when calling the HeadObject operation: Key "myDirectory/todaysFiles/" does not exist
しかし、私は試してみてください。
aws s3 cp s3://myBucket/myDirectory/todaysFiles/ .
を私はこのエラーを取得します
aws s3 cp s3://myBucket/myDirectory/todaysFiles/somefile .
I:ローカルに1つのファイルだけをコピーしますこのエラーが表示される:
warning: Skipping file s3://myBucket/myDirectory/todaysFiles/somefile. Object is of storage class GLACIER. Unable to perform download operations on GLACIER objects. You must restore the object to be able to the perform operation. See aws s3 download help for additional parameter options to ignore or force these transfers.
このエラーが発生する理由は何ですか?
は、私は本当に最初のエラーのためにあなたの助け
シンプルで...役に立たないエラーメッセージについて話してください... – MichaelChirico