Large upload not using original file name for public ID
I am using cloudinary.v2.uploader.upload_large in nodeJS to upload large files, upload works but when i get back response its like
{
"public_id": "abi/file_inri2q12",
"version": 1517309956,
"signature": "62118fd5af59cb832f8a741a28b97f90df7a437b",
"width": 596,
"height": 843,
"format": "pdf",
"resource_type": "image",
"created_at": "2018-01-30T10:59:16Z",
"tags": [],
"pages": 3,
"bytes": 194763,
"type": "upload",
"etag": "9a5fa012a048f67219dbf63b90050936",
"placeholder": false,
"access_mode": "authenticated",
"original_filename": "file"
}
where file name is "file". I am passing file path to the method like '/tmp/sample file.pdf'
-
We succeed in reproducing this issue on our end. I've forward it to our dev team to take a look at it. I'll update with any insights.
0 -
Hello, any update on this? Same problem with "original_filename: file", yet my file name was actually my_pic.png, not "file"
0 -
Hi,
Can you try updating your nodeJS to the latest version and run:
cloudinary.v2.uploader.upload_large("https://res.cloudinary.com/demo/image/upload/sample.jpg",{use_filename:true,unique_filename:false},function(error, result){console.log(result);});
Please let us know if that works,
Thanks,
0
Post is closed for comments.
Comments
3 comments