amazon-s3cyberduck

Cyberduck CLI Amazon S3 URL


I'm trying to use Cyberduck CLI for uploading/downloading files from Amazon S3 bucket.

But I'm unable to formulate the correct S3 url. Below is what I've tried so far for listing the bucket contents.

C:\>duck --list s3://<bucketname>.s3-<region>.amazonaws.com/<key> --username <access_key> --password <secret_key>

But I'm getting the error:

Listing directory failed. Java.lang.NullPointerException. 
Please contact your web hosting service provider for assistance.

Can you please advise if there is any issue with the s3 URL?

Cyberduck version - 4.8


Solution

  • The documentation mentions to

    reference the target container (aka bucket) name in the URI like s3://bucketname/key.

    This means the region specific hostname s3-<region>.amazonaws.com can be omitted.