expressjs/multer

Filesize in mutliple upload returns fieldname instead of filename

Open

#607 opened on 2018年6月27日

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

説明

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

コントリビューターガイド