[go: up one dir, main page]

Skip to content
Kemal Ahmed edited this page Sep 16, 2016 · 6 revisions

Welcome to the multer wiki!

The <NAME> you use in multer's upload.single() function must be the same as the one you use in <input type="file" name="<NAME>" Same for upload.array(<Name>).

Multiple file fields:

upload.fields([{ name: 'fileField1', maxCount: 1 }, { name: 'fileField2', maxCount: 8 }])

Clone this wiki locally