Using BOX-SDK - Unable to preview the PDF file, the ext. was changed from .txt to .pdf during Upload
AnsweredI am Uploading a "abc.txt" file using the box-sdk upload method.
During upload I am changing the file name to "xyz.pdf".
And If I preview the file in my box account, it is not showing the content and shows the below message. If i download also it is not showing up.
"We're sorry, the preview didn't load. This document may be protected."
Do i need to do some stuff instead of changing the filename directly with .pdf extension. if so? what should be done?
Please sign in to leave a comment.
Comments
3 comments