I am trying to copy files locally from S3 Bucket using command : aws s3 ls s3://myBucket/myDirectory/todaysFiles/
And i am getting a error :
fatal error: An error occurred (404) when calling the HeadObject operation: Key "myDirectory/todaysFiles/" does not exist
If i try to copy individual file using command :
aws s3 cp s3://myBucket/myDirectory/todaysFiles/somefile
i am getting an error
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.
And i have know idea as to why these errors are occurring. Any help would be appreciated.