DevGe
DevGe

Reputation: 1449

How to push all the zip files from my computer desktop to s3 bucket (Public Access)

I currently have problem pushing all my zip files using the aws command. my location of my files is on my computer folder. so my main goal here is all of my zip files on my specific folder will transfer to the s3 bucket when i run the bat files command that i created.

Fatal error: an error occured when calling the ListObjects v2 operations: The Aws Key Id you provided not exist in our records.

Please see the error below:

Error

Command:

aws s3 cp s3://s3_folder/07-08-2020/*.zip  C:\first_folder\my_folder\update --recursive

S3 Bucket:

S3

Upvotes: 1

Views: 118

Answers (1)

Marcin
Marcin

Reputation: 238189

Based on the comments.

The issue was caused by two factors:

  1. Missing AWS credentials for AWS CLI
  2. Incorrectly set data and time on the host computer

Instruction to setup the credentials for AWS CLI are:

Upvotes: 1

Related Questions