Title: PDF not upload
Last modified: September 20, 2018

---

# PDF not upload

 *  [hickham](https://wordpress.org/support/users/hickham/)
 * (@hickham)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/pdf-not-upload/)
 * Thks for the plugin! I love it!
 * But Still have the PDF problem with ALL pdf`s in version 2.1.5
 *     ```
       [386 of 413] Importing npptx-2.pdf (3636) ... PHP Warning:  unlink(/var/www/mydomain/htdocs/wp-content/uploads/2018/07/npptx-2.pdf): Permission denied in /var/www/mydomain/htdocs/wp-content/plugins/ilab-media-tools/classes/Tools/Storage/StorageTool.php on line 931
       Warning: unlink(/var/www/mydomain/htdocs/wp-content/uploads/2018/07/npptx-2.pdf): Permission denied in /var/www/mydomain/htdocs/wp-content/plugins/ilab-media-tools/classes/Tools/Storage/StorageTool.php on line 931
       Done.
       ```
   
    -  This topic was modified 7 years, 8 months ago by [hickham](https://wordpress.org/support/users/hickham/).

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

 *  Plugin Author [interfacelab](https://wordpress.org/support/users/interfacelab/)
 * (@interfacelab)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/pdf-not-upload/#post-10705497)
 * Thanks, glad you love it.
 * Unfortunately, the problem is with your server and not the plugin. You don’t 
   have permissions to unlink/delete the uploaded PDF.
 * Do you have “Delete Uplaods” enabled in settings?
 *  Thread Starter [hickham](https://wordpress.org/support/users/hickham/)
 * (@hickham)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/pdf-not-upload/#post-10747918)
 * Thank you so much for the tip.
 * I get done with:
    `sudo -u www-data wp mediacloud import`
    -  This reply was modified 7 years, 7 months ago by [hickham](https://wordpress.org/support/users/hickham/).
    -  This reply was modified 7 years, 7 months ago by [hickham](https://wordpress.org/support/users/hickham/).
    -  This reply was modified 7 years, 7 months ago by [hickham](https://wordpress.org/support/users/hickham/).
 *  Thread Starter [hickham](https://wordpress.org/support/users/hickham/)
 * (@hickham)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/pdf-not-upload/#post-10747983)
 * It works, but some things get strange:
 * The “view” link in Media Library don’t show up.
    neither informations from Cloud
   Storage Info metabox .
 * The files still in my server, that’s correct to?
    I notice the warning in “Storage
   Importer” page
 * But the files are already in S3 and the link for the media its correct in admin
   and post.

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

The topic ‘PDF not upload’ is closed to new replies.

 * ![](https://ps.w.org/ilab-media-tools/assets/icon.svg?rev=2795439)
 * [Media Cloud for Bunny CDN, Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean and more](https://wordpress.org/plugins/ilab-media-tools/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ilab-media-tools/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ilab-media-tools/)
 * [Active Topics](https://wordpress.org/support/plugin/ilab-media-tools/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ilab-media-tools/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ilab-media-tools/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [hickham](https://wordpress.org/support/users/hickham/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/pdf-not-upload/#post-10747983)
 * Status: not resolved