upload filetype pptx & docx
how to upload pptx & docx format using api nodejs.
i trying using resource_type: "auto", format: "docx", but not working
thanks before
-
Dicky,
Thanks for your question! You may need to specify the file as a "raw" resource type in this situation.
Example:
cloudinary.v2.uploader.upload("sample_document.docx", { resource_type: "raw" }, function(error, result) {console.log(result, error); });
More information about uploading raw files can be found in our documentation: https://cloudinary.com/documentation/upload_images#uploading_non_image_files_as_raw_files
-
Hi Rashmi,
Your cloud name can be found in the "Dashboard" of the Cloudinary console/DAM.
Please could you also send the code snippet you are using and the error message you received.
Thanks,
Tom
Please sign in to leave a comment.
Comments
6 comments