B
B
bumbay2014-08-02 19:13:53
Node.js
bumbay, 2014-08-02 19:13:53

How to properly handle Node.JS and Express file upload?

It is only necessary to read the contents of the file uploaded by the user.
How to do it right and how best to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Krasnodemsky, 2014-08-05
@Prognosticator

what about files?

N
namit, 2014-08-10
@namit

you need to use middleware like this: https://www.npmjs.org/package/multiparty
and then read the uploaded file and do whatever you want with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question