s3-upload-stream
s3-upload-stream copied to clipboard
A Node.js module for streaming data to Amazon S3 via the multipart upload API
hey there! streams ftw, I am converting some old code to streams, so I am going from `require('s3-uploader')` to `require('s3-upload-stream')`! Our old code looks like this: ```js const Upload =...
aws config has to be loaded before creating S3-instance code was already correct here: https://github.com/nathanpeck/s3-upload-stream/blob/master/examples/upload.js
Hi, Why when I try to upload empty file the upload not working? Thanks.
``` javascript var fs = require('fs'); var AWS = require('aws-sdk'); var s3Stream = require('s3-upload-stream')(new AWS.S3()); var read = fs.createReadStream('path/to/my/file.json'); var upload = s3Stream.upload({ Bucket: "my-bucket", Key: "key.txt", ACL: "public-read", StorageClass:...
I'm using s3-upload-stream together with [Busboy](https://github.com/mscdex/busboy) in order to stream files directly to s3 storage without saving them into temporary directory on server. The problem is in upload speed, for...
In the current version, by calling `ws.originalEnd` before cleaning up remaining data, a `finish` event is emitted which can cause problems if the user's code assumes `finish` means no more...
Getting a weird token expired error: ``` javascript var AWS = require('aws-sdk'); var s3 = new AWS.S3(); // creds.fetch() just returns an object with the access key and secret key...
Looks like Amazon's [aws-sdk](https://github.com/aws/aws-sdk-js) package added support for streaming multipart uploads in v2.1.0 (see aws/aws-sdk-js#427). Does this update make this project obsolete, or are there any major differences in functionality...