expressjs/multer

Filesize in mutliple upload returns fieldname instead of filename

Open

#607 opened on Jun 27, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (11,136 stars) (1,043 forks)batch import
enhancementhelp wanted

Description

that is worth when you want to upload multiple files and one file is above filesize limitation. you´re not able to inform user about that rejected file... https://github.com/expressjs/multer/blob/master/lib/make-middleware.js#L141 pls, change fieldname to filename, or even better with the file object

Contributor guide