Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9252145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:52:19+00:00 2026-06-18T10:52:19+00:00

I have been struggling in the last few days to get this working. Basically

  • 0

I have been struggling in the last few days to get this working.

Basically I have a form in HTML that has a type="file" input.

I would like that this file is sent to nodejs and directly streamed to Amazon s3. In this way I will use less storage on my server (imagine if 100 people upload 1g, at the end my server will have 100g), so if I stream I will occupy just memory for a little amount of time

Any hint on how to do this with express?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:52:20+00:00Added an answer on June 18, 2026 at 10:52 am

    I am unsure if you’re looking for a CORS approach, where the user uploads directly to your S3 bucket, or an approach where you use express as a middle-man.

    If you’re looking at a CORS approach (which I would recommend unless you are doing anything special with the file before it gets put in S3 that can’t be done client side), this should help you out: http://bencoe.tumblr.com/post/30685403088/browser-side-amazon-s3-uploads-using-cors

    If you are planning to use your server as a mid-point (ie, upload to your server, then upload from your server to S3), I have heard good things about Knox (https://github.com/LearnBoost/knox). I’ve played around with it, but haven’t actually used it as I tend to use CORS approaches.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been struggling for the last few hours trying to get this search
I have an issue I've been struggling with for the last few days. I
I have been struggling with this problem for the last few hours, and it
So I've been struggling with this for the last couple days.. I have music
I have been struggling for a few days trying to find out how come
OK I have been messing about with URL rewriting for the last few days
I've been struggling with this error for several days with little headway. Basically, I'm
I have been struggling with a problem for the last 2 days and was
For the last couple of days of my X-mas holidays, I have been struggling
I'm have been struggling the last 3 days with a funny, at least for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.