Skip to content

Instantly share code, notes, and snippets.

@mtauraso
Created April 2, 2016 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtauraso/f825b7fbe47e3c5e50e41530db977479 to your computer and use it in GitHub Desktop.
Save mtauraso/f825b7fbe47e3c5e50e41530db977479 to your computer and use it in GitHub Desktop.
Debugging S3 download
$ curl -v -o temp.gif https://s3.amazonaws.com/cn-ppg-api-development/dest/049e387b-7acd-40c9-b7ec-f13d263be6ac/animated.gif
* Adding handle: conn: 0x7f9be2002a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f9be2002a00) send_pipe: 1, recv_pipe: 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to s3.amazonaws.com port 443 (#0)
* Trying 54.231.114.100...
* Connected to s3.amazonaws.com (54.231.114.100) port 443 (#0)
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
* Server certificate: s3.amazonaws.com
* Server certificate: DigiCert Baltimore CA-2 G2
* Server certificate: Baltimore CyberTrust Root
> GET /cn-ppg-api-development/dest/049e387b-7acd-40c9-b7ec-f13d263be6ac/animated.gif HTTP/1.1
> User-Agent: curl/7.30.0
> Host: s3.amazonaws.com
> Accept: */*
>
< HTTP/1.1 200 OK
< x-amz-id-2: 4J1BOo0lfb/P4l6KxEIpfyXsMuMaVYC6FgCg+iKuL9LYjd84TV8UC1OKUjgtl2L4N8VPqBjAsKE=
< x-amz-request-id: B4C22AE993C85583
< Date: Sat, 02 Apr 2016 16:00:29 GMT
< Last-Modified: Sat, 02 Apr 2016 12:52:29 GMT
< ETag: "70dcfb14c94b56daa4a7b55b5a263626"
< Accept-Ranges: bytes
< Content-Type: application/octet-stream
< Content-Length: 1030835
* Server AmazonS3 is not blacklisted
< Server: AmazonS3
<
{ [data not shown]
100 1006k 100 1006k 0 0 137k 0 0:00:07 0:00:07 --:--:-- 157k
* Connection #0 to host s3.amazonaws.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment