Title: HTTP error when uploading PDF file
Last modified: August 22, 2016

---

# HTTP error when uploading PDF file

 *  [Wolfy Design](https://wordpress.org/support/users/milanche037/)
 * (@milanche037)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/)
 * Hi,
 * this issue is not directly related to your plugin (although I’m using it), but
   I didn’t found solution to it anywhere on the web. Hope you can be able to help
   somehow.
 * Fact is I’m unable to upload any (large or small) PDF file through Media Library
   as I’m constantly getting “HTTP error” message after upload is complete. I have
   tried even to upload a PDF file manually through FTP, but it doesn’t show up 
   in Media Library after upload. My guess is WordPress has some issues with PDF
   file formats, but I can’t figure it out myself.
 * Any idea how to fix this?
 * Thanks,
    Milan
 * [https://wordpress.org/plugins/enhanced-media-library/](https://wordpress.org/plugins/enhanced-media-library/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808031)
 * Hi Milan,
 * Sorry for the late reply.
 * WordPress is perfectly able to upload PDFs. Please post a screenshot with the
   error and let me know what is the list of your active plugins.
 * -Nadia
 *  Thread Starter [Wolfy Design](https://wordpress.org/support/users/milanche037/)
 * (@milanche037)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808032)
 * Hi Nadia,
 * web site is currently in development phase, but here’s the screenshot:
 * [http://prntscr.com/68lq7f](http://prntscr.com/68lq7f)
 * In the meantime, I’ve noticed that this issue is only with new WP upload system.
   When I try to upload single PDF file via old upload method, file gets uploaded
   successfully. Problem is I really need to upload multiply PDF files because it
   would take ages for me to do so.
 * Here’s the list of current active plugins:
 * Akismet
    Better Delete Revision Contact Form 7 Enhanced Media Library Event Booking
   Pro LayerSlider WP Revolution Slider Templatera WordPress Importer WPBakery Visual
   Composer WPML Multilingual CMS WPML String Translation
 * Thanks!
 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808034)
 * Thanks Milan! Can you please try to deactivate all plugins except Enhanced Media
   Library and check if the problem is gone? It looks like some incompatibility 
   issue. Also please let me know your version of WordPress and theme name.
 *  Thread Starter [Wolfy Design](https://wordpress.org/support/users/milanche037/)
 * (@milanche037)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808035)
 * Tried that. Same issue.
 * I’m using latest WP and Total Theme as framework.
 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808037)
 * OK, thanks, can you please try to activate any “default” WP theme instead of 
   Total Theme to check if it has impact?
 *  Thread Starter [Wolfy Design](https://wordpress.org/support/users/milanche037/)
 * (@milanche037)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808038)
 * I have thought of that too, but theme has nothing to do with WP uploading system.
   Anyway, that didn’t help either.
 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808039)
 * Then, it’s most likely a server issue. Also you can conduct more researches: 
   try other browser, device, other file type, a file with less Mb
 * Something like this [http://revocomm.com/solving-wordpress-image-upload-http-error/](http://revocomm.com/solving-wordpress-image-upload-http-error/)
   can also be helpful… as well as contacting your hosting provider.
 *  Thread Starter [Wolfy Design](https://wordpress.org/support/users/milanche037/)
 * (@milanche037)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808041)
 * Before I wrote anything here, I made all the research I could possibly make. 
   This was my last hope 🙂 In fact, I never bother people about some issue if I
   didn’t already tried to fix it myself or searched for already solved solution
   for that issue.
 * You plugin was last one I installed and it’s tied up to media library, so I figured
   you could give me some useful advice. I’m trying to upload PDF’s that are less
   than 1Mb large, so I was trying with different sizes as well. Also with another
   type of files. Everything works except PDF files. That’s really strange, because
   uploader shouldn’t make difference in file type.
 * Last thing left for me to do is contact my provider, but I’m not sure they will
   be much of a use.
 * Thank you for your time, anyway.
 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808046)
 * Milan, I didn’t mean you bother me, it just looks like a server issue under the
   circumstances you described. In this case I can’t be really helpful, sorry.
 * WordPress by default doesn’t allow PDF’s upload. The mechanism EML uses is pretty
   straightforward – the `upload_mimes` hook ([http://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes](http://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes)).
   You can check it for yourself without any plugin at all – .pdf `application/pdf`
   or `application/x-pdf` (if you haven’t tried this before).
 * Try to allow uploading .exe `application/x-msdownload` (don’t forget to disallow
   it then!)
 * If this doesn’t work either, then your server blocks uploading of certain mime
   types. In this case you should definitely contact your hosting provider.
 * -Nadia

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘HTTP error when uploading PDF file’ is closed to new replies.

 * ![](https://ps.w.org/enhanced-media-library/assets/icon-256x256.png?rev=980107)
 * [Enhanced Media Library](https://wordpress.org/plugins/enhanced-media-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enhanced-media-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enhanced-media-library/)
 * [Active Topics](https://wordpress.org/support/plugin/enhanced-media-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enhanced-media-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enhanced-media-library/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [webbistro](https://wordpress.org/support/users/webbistro/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-pdf-file/#post-5808046)
 * Status: not resolved