This is an archived forum post. The information may be outdated. Contact us if you have any
questions.
Converted PDF cannot store on server
fahim
wrote on 2012-06-20:
Hello,
I am trying to store converted PDF (based on given URI) file on the server. However, the generated PDF show message that it was corrupted or not supported file type. And on my web page it shows 'Pdfcrowd Error: Failed writing body (1073 != 1079)'. Below is the simple code i used.
In contrast, I was trying to accomplish two tasks. 1) Automatically downloaded the converted PDF to my local computer using (echo $pdf;) 2) At the same time, able to store downloaded PDF on server (inside one of the given folder [I already granted 777 permission to the folder]so that user can download any time again)
Please help me. Thanks advance.
support
wrote on 2012-06-20:
Could you to try to save the generated PDF to a file like this?