expressjs/multer

Filesize in mutliple upload returns fieldname instead of filename

Open

Aperta il 27 giu 2018

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (11.136 star) (1043 fork)batch import
enhancementhelp wanted

Descrizione

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

Guida contributor