I am using the following to upload files to a directory via Multer. It works great, but I need to perform some actions after upload that require the name of the file I just post
Accessing uploaded files data differs in Multer, depending whether you are uploading single or multiple files. Access data like so:
uploading single file:
req.file
uploading multiple files:
req.files