Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

naffis/nodejs-s3-example

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

NodeJS S3 File Upload Example

Stream upload to S3 while downloading a file from a remote URL using knox.

Running

Install knox and express:

npm install knox express

Add your S3 credentials:

var client = knox.createClient({
    key: '<api-key-here>',
    secret: '<secret-here>',
    bucket: 'mybucket'
});

Run the app:

node app.js

Then in your browser replace src with the file you wish to upload to s3:

http://localhost:3000/?src=http://www.example.com/file-to-download.txt

About

Stream upload to S3 while downloading a file from a remote URL using knox.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.