hughsk / s3-sync

A streaming interface for uploading multiple files to S3.
Other
79 stars 27 forks source link

Option to define my own filename/path for cache invalidation purposes #5

Closed Bockit closed 11 years ago

Bockit commented 11 years ago

We use a system where we generate temporary files (gzip) that we want to upload, but for the purposes of cache invalidation we want them to be counted as the files we're gzipping, if we weren't gzipping them before and then choose to now.

Some way to define the file name and/or path that we think we're uploading, separate to the file name and/or path that we know we're uploading would be a pretty awesome feature to have!

hughsk commented 11 years ago

Good idea :)

Might also be nice to be able override the fs.createReadStream part of s3-sync, so you don't need to write to a temporary file at all!