Hello everyone, I am trying to figure out how to change the title of the files I am uploading via a form. The content of the file works fine but the titles of the files are in hexadecimal format (I think). I am using Multer to upload the files, by the way. Do you know why the titles of the files are not in the original format?
It looks like you need to supply a filename() function that will decide what name to use. Look into the disk storage engine here: https://github.com/expressjs/multer
If you’re already sending the name you want from the client, it may be that the form fields aren’t being sent in the order you want: