How to upload a file from the browser to Amazon S3 with node.js, Express, and knox? -
i'm trying find example code utilizes node.js, express, , knox.
the docs knox give clear examples of how upload file stored in file system. https://github.com/learnboost/knox#readme
additionally, there number of simple tutorials (even in express itself) on how upload files directly express , save file system.
what i'm having trouble finding example lets upload client upload node server , have data streamed directly s3 rather storing in local file system first.
can point me gist or other example contains kind of information?
all of previous answers involve having upload pass through node.js server inefficient , unnecessary. node server not have handle bandwidth or processing of uploaded files whatsoever because amazon s3 allows uploads direct browser.
have @ blog post: http://blog.tcs.de/post-file-to-s3-using-node/
i have not tried code listed there, having looked on it, appears solid , attempting implementation of shortly ad update answer findings.
Comments
Post a Comment