Hello,
I really don't understand the file you mean, but there are basically three main file variables here. The file you get from the storage object has a property (this is from the multer-gridfs-storage), the file you pass has an argument (this is the file the user uploads. and you can get access to properties such has the originalname) and the file which I used has the property of an object which I sent back to the user(this is not really important,you can just easily redirect the person.
Can you annotate the code what file is meant? Or share the source? Thank you!
Hello,
I really don't understand the file you mean, but there are basically three main file variables here. The file you get from the storage object has a property (this is from the multer-gridfs-storage), the file you pass has an argument (this is the file the user uploads. and you can get access to properties such has the originalname) and the file which I used has the property of an object which I sent back to the user(this is not really important,you can just easily redirect the person.
Hope that answers you question
Hello Sir i need your help
Hi, how can I be of assistance