• I have a number of PDF files on my site for download. I use the WP Explorer plugin to allow people to browse through the “library”.

    Using a Mac with Firefox as a client, there are no issues. You click on one of the PDFs and it downloads and/or opens in Adobe Acrobat/Reader.

    On the other hand, Windows users (XP, Vista, IE/Firefox) get an error that the %PDF- header is missing and won’t open it.

    I’ve checked the files and the %PDF-1.4 (in these cases, I think all of them are 1.4 files) is present.

    Interesting, though, that when I use curl through the OS X terminal to access the PDF file, it starts out as %????1.4. This leads me to believe it is an encoding issue, although all the other human-readable PDF code is still human-readable.

    When I instruct curl to save the output to a file and open it in a hex editor, though, everything is as it should be (%PDF-1.4) and the byte codes in question all seem to be appropriate.

    I really like the WP Explorer plugin because it effortlessly blends into the website theme and works with WP instead of separate from it… It would be more work if I have to change things and go back to a PHP download script to manage these files.

    Ideas?

The topic ‘[Plugin: WP Explorer] PDF Files don’t open.’ is closed to new replies.