Skip to content

Instantly share code, notes, and snippets.

@chilts
Created April 18, 2012 21:07
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 chilts/2416572 to your computer and use it in GitHub Desktop.
Save chilts/2416572 to your computer and use it in GitHub Desktop.
Using https://github.com/hazlema/'s upload.js for a streaming file
# node amazon/s3/upload.js --bucket pie-18 --file README.md
Region: us-east-1
EndPoint: s3.amazonaws.com
AccessKeyId: [removed]
SecretAccessKey: [removed]
AwsAccountId: [removed]
Bucket: pie-18
Filename: README.md
File Size: 2644
putting an README.md to pie-18 - expecting success
Error: null
Data: {
Headers: {
etag: '"6916b0c7534c96bdb9dcd2d75be98a83"',
x-amz-request-id: '8BB15292C8B215A7',
x-amz-id-2: 'fuhVEjJXs0MHg6mcD8u88510e+zqjR4tZ75+P1q18TfUoxWfVJ2EWet1dC6+mcWE',
date: 'Wed, 18 Apr 2012 21:04:42 GMT',
server: 'AmazonS3',
content-length: '0'
},
Body: '',
StatusCode: 200
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment