expressjs/multer

Filesize in mutliple upload returns fieldname instead of filename

Open

#607 ouverte le 27 juin 2018

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)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

Guide contributeur