node application stream file upload directly to amazon s3 [duplicate]

末鹿安然 提交于 2019-12-04 18:35:35

With the recent CORS support, you can easily send files directly to s3, without your server having to handle anything.

I recently wrote a short tutorial, with rails, but again the server is just used to compute some keys, so adapting it to express shouldn't be hard at all.

But with such a solution, you'll need to use the jQuery File Upload plugin, and you probably won't need knox

https://pjambet.github.io/blog/direct-upload-to-s3

Hope it'll help you.

Maybe this can help - I made this to use the JQuery File Upload plugin upload directly to S3. I did not need to check the size of the file.

https://gist.github.com/3995819

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!