CLI --update for S3 Access Denied

204 views
Skip to first unread message

ica...@lynn.edu

unread,
Dec 11, 2017, 5:50:23 PM12/11/17
to Cyberduck
Hello. I am using Cyberduck to upload csv files to an S3 bucket of which I am not the administrator. I can list the content of my folder and I can download files all using the Cyberduck CLI. However, when uploading a file I get this error: 

Upload FileName.csv failed. Access Denied. Please contact your web hosting service provider for assistance.
Continue (y/n):

This is the command I am using: duck.exe --upload s3://Bucket/Folder/ C:\Folder\FileName.csv

I cannot find what I am missing. Does it have to do with the encryption method? Any help would be appreciated.

Thank you!!

David Kocher

unread,
Dec 12, 2017, 3:18:15 AM12/12/17
to Cyberduck
Please run with the —-verbose flag which will yield more information about which particular request is failing with a permission error.

– David
> --
> --
> You received this message because you are subscribed to the Google Groups "Cyberduck" group. To post to this group, send email to cybe...@googlegroups.com
> To unsubscribe from this group, send email to cyberduck+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/cyberduck
> --
> Post bug reports and feature requests
> http://trac.cyberduck.ch/newticket
> --
> Support development
> http://cyberduck.ch/donate/
>
> ---
> You received this message because you are subscribed to the Google Groups "Cyberduck" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cyberduck+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

ica...@lynn.edu

unread,
Dec 12, 2017, 11:20:09 AM12/12/17
to Cyberduck
Hi David. Thank you so much for helping me. This is what the --verbose gave me.

> GET /?max-keys=1000&versions&prefix=user%2FBucket%2FFolder%2F&delimiter=%2F 
HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> x-amz-request-payer: requester
> x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427a495991b7852b855
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Connection: Keep-Alive
> User-Agent: Cyberduck/6.3.1.27228 (Windows 8.1/6.3) (x86)
< HTTP/1.1 403 Forbidden
< x-amz-request-id: 5EA2B7FA993152AA
< x-amz-id-2: BHIcbZPxF6hUEaRSIuXAwo610buN5vHfOxs+L261OqYfni4Wf86+3z4rNPXP8TaJLB
Lrnj6s7GE=
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Tue, 12 Dec 2017 14:34:52 GMT
< Server: AmazonS3
> GET /?max-keys=1000&prefix=user%2FBucket%2FFolder%2F&delimiter=%2F 
HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> x-amz-request-payer: requester
> x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427a495991b7852b855
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Connection: Keep-Alive
> User-Agent: Cyberduck/6.3.1.27228 (Windows 8.1/6.3) (x86)
< HTTP/1.1 200 OK
< x-amz-id-2: /RXYwWi1+QcKbfSUUlkTq1zwLusXRoYSEk/c7wmPwwRwCp4mNFDeIWQpaOqMTOIpvwUazIyOJZQ=
< x-amz-request-id: C222C9323DD0EF6C
< Date: Tue, 12 Dec 2017 14:34:53 GMT
< x-amz-bucket-region: region
< Content-Type: application/xml
< Transfer-Encoding: chunked
Login successful…
> GET /?max-keys=1000&versions&prefix=user%2FBucket%2FFolder%2F&delimiter=%2F 
HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> x-amz-request-payer: requester
> x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427a495991b7852b855
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Connection: Keep-Alive
> User-Agent: Cyberduck/6.3.1.27228 (Windows 8.1/6.3) (x86)
< HTTP/1.1 403 Forbidden
< x-amz-request-id: 60C1131DFF5CC008
< x-amz-id-2: lV9uO1zzDAF11SZg6g4SwT/JaSttxtEDG4vXDfguMYg2uLyCXHGveeV3vTh1j9Rf+nbxy2IRbUc=
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Tue, 12 Dec 2017 14:34:52 GMT
< Server: AmazonS3
> GET /?max-keys=1000&prefix=user%2FBucket%2FFolder%2F&delimiter=%2F 
HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> x-amz-request-payer: requester
> x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427a495991b7852b855
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Connection: Keep-Alive
> User-Agent: Cyberduck/6.3.1.27228 (Windows 8.1/6.3) (x86)
< HTTP/1.1 200 OK
< x-amz-id-2: T7bJ2Ejiqu4H0II5Jz8lwPRYatRZMWj1hSignLojzK3U+t6L+8S7aHp/Csa90UP3+XqZFeOMtc4=
< x-amz-request-id: D1DB5EE0016E07BC
< Date: Tue, 12 Dec 2017 14:34:53 GMT
< x-amz-bucket-region: region
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Server: AmazonS3
> GET /?prefix=user%2FBucket%2FFolder%2F&uploads 
HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> x-amz-request-payer: requester
> x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427a495991b7852b855
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Connection: Keep-Alive
> User-Agent: Cyberduck/6.3.1.27228 (Windows 8.1/6.3) (x86)
< HTTP/1.1 403 Forbidden
< x-amz-request-id: 5C237BF733349C99
< x-amz-id-2: amfW9hDYCQbXx1bzFOj49v3R8mOJHIUIn8dCBkqmtsgMQ89nqLTjFyivY8lwUgp3I5pI6pvkGtg=
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Tue, 12 Dec 2017 14:34:52 GMT
Calculate checksum for FileName.csv…
> GET /?accelerate HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> x-amz-request-payer: requester
> x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427a495991b7852b855
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Connection: Keep-Alive
> User-Agent: Cyberduck/6.3.1.27228 (Windows 8.1/6.3) (x86)
< HTTP/1.1 403 Forbidden
< x-amz-request-id: 1D5741ACC6A625FF
< x-amz-id-2: 4a+FythxfBABXapb91yVxy8ikr4IuBEYVdNwSV8aJ/maPK01Gwx9UYgmEMVrfP9s35f/4Dpf41o=
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Tue, 12 Dec 2017 14:34:52 GMT
Uploading FileName.csv…
> PUT /user/Bucket/Folder/FileName.csv
 HTTP/1.1
> Date: Tue, 12 Dec 2017 14:34:52 GMT
> Expect: 100-continue
> Content-Type: text/csv
> x-amz-content-sha256: d1131587431cf5fa4f1a7020d9b2badaf4a0c3660350a8bea
> x-amz-date: 20171212T143452Z
> Authorization: ********
> Content-Length: 14080
> Connection: Keep-Alive
Transfer incomplete…
Upload FileName.csv failed. Access Denied. Please contact your web hosti
ng service provider for assistance.
Unknown…

Sarah Hegarty

unread,
Oct 18, 2018, 10:47:41 PM10/18/18
to Cyberduck
Hi there,

Apologies for bumping an old thread, but I am experiencing an identical issue as well. Any advice would be very welcome!

Many thanks,
Sarah
Reply all
Reply to author
Forward
0 new messages