How to track progress of a file getting uploaded to NodeJs server .I am using multer in server side to upload files. ?
Do i need to send some kind of information to the
Here's an answer by LinusU at the project github's page (he suggests using progress-stream):
Pipe req to that one and give it to multer.
var p = progress() var upload = multer().single('file') req.pipe(p) p.headers = req.headers p.on('progress', _) upload(p, res, _)