PDF file upload issue

You should set your MIME types for your pdf. ‘application/pdf’ and/or ‘application/x-pdf’ sorry for the quick answer, no time to go into detail but this should get you on the way

Displaying BLOB PDF File

That looks like it is a template file. If so, the function add_header_info is hooked into send_headers long after send_headers had fired. You will need to move that code so that it executes earlier. It should work from a mu-plugin file, a plugin file or from your theme’s functions.php. However, $FileType and those other variables … Read more

pdf (25MB) – how to display and enable download?

If you’re using Apache, you can add something like this in your .htaccess file AddType application/octet-stream .pdf This will force everything with a .pdf extension to download instead of display in the browser. If however you are not using Apache or if you want only certain files to download and others to display directly, you … Read more