expressjs/multer

Filesize in mutliple upload returns fieldname instead of filename

Open

#607 opened on Jun 27, 2018

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (1,043 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (11,136 stars)
PR merge metrics
 (Avg merge 9d 11h) (7 merged PRs in 30d)

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