Given that you have no problems viewing the PDF files directly in Acrobat after they are exported from InDesign, I think you can safely assume that the problem isn't InDesign, the format of the contents (whether EPS, JPEG, PDF, etc.), the options used to export the PDF, etc.
The symptoms would point to the PDF file being corrupted either as part of the upload to the website or in the download.
Have you tried doing a file compare – even just a comparision of the physical file length – between the PDF file directly after export from InDesign and the PDF file you download from the website? My guess is that the length is different and likewise, the contents differ.
One area to look at is that of whether either the upload or download function of this website is trying to treat PDF files as ASCII files and thus, mucking around with what it thinks are line endings – CR, LF, CR/LF, etc. – making “fixes” that in fact corrupt the PDF files. PDF files are always binary files. All network operations with such files should be done with binary protocols (FTP is one file transfer protocol that often messes up with this).
Check into this and let us know what you find.
Sweet, I'm so glad you sad that. Especially the last part because I'm inclined to agree with you. We've tried every option but on the upload I can pick Auto, ASCII, and binary. We put it on auto. I'll come back and let you know what happens and answer the other stuff.
Thank you so much Dov, come to find out all we had to do is upload it as a binary. We've uploaded multiple pdfs to the site starting with smaller ones (around 1-1.5 MB) and we just uploaded a 4MB file which is an average size. Everything is working and I couldn't appreciate the help more! Looks like I'm out of the fire. I shouldn't be needing any help from this point onwards.
Hi, I am still having the same problem I think. After uploading the PDF files, different sizes, to the Magento server, the files are empty in the product page and the link says it is broken. On the server it gets uploaded but on frontend it doesn't seem to have any bytes.
Could anyone help on this please?
What are the file permissions on the media folder?
the link to the website is [unnecessary link removed]