Upload Files with Express

InstructorMark Shust

Share this video with your friends

Send Tweet

In this lesson we create a new Express web server app for handling file uploads and persisting them to the filesystem. We will walk through using the express-fileupload middleware module from npm to process file uploads, and then use the Express static middleware to serve the uploaded file as a static asset.

Danut Codrescu
~ 7 years ago

What is the difference between express-fileupload vs multer? Am I correct when I say that this solution is 'liter' in features compared to multer?

Mark Shustinstructor
~ 7 years ago

Multer appears to really have the same functionality, just with a different API. Multer is actually quite clean and simple! Either works.