I was wondering if there's a way to upload a .doc, .pdf, or .zip file to cloudinary. I got the data from the client using multer and i recieve something like this, for example:
fieldname: 'file',
originalname: 'F12se.zip',
encoding: '7bit',
mimetype: 'application/x-zip-compressed',
buffer: <Buffer 50 4b 03 04 14 00 00 00 08 00 90 68 aa 50 ad bd d9 53 13 05 00 00 c5 0a 00 00 0d 00 00 00 43 68 61 6e 67 65 6c 6f 67 2e 74 78 74 9d 56 eb aa d3 40 10 ... 1864943 more bytes>,
size: 1864993
I guess I have to do something with the buffer, but I'm not sure as to what or how.
Any help would be appreciated. Thanks.