Ready to get started?Download WordPress


WP-Filebase Download Manager
[resolved] Force PDF (or any file) download (3 posts)

  1. Yatish Bhula Madhav
    Posted 7 months ago #

    Hi there,

    This is so far a really great plugin. Does what is needed of it right now. May upgrade and use and contribute more - I am still a bit new in WP.

    Though, I am trying to get files to download automatically/forcibly, not open in the browser. I am using PDF's and would like users to download/save to a folder the PDF and not provide them with instructions to 'save as' ...

    Thanks all in advance. Chat/comment soon :)


  2. helirexi
    Posted 7 months ago #

    you may try enable “Always Force Download” in WP-Filebase >> Settings >> Download settings. Here is one tip
    And maybe another tip also from Fabian's (plugin author)site:

    To force PDF download on FTP sites create a .htaccess file in the FTP root directory:

    <FilesMatch "\.(?i:pdf)$">
    ForceType application/octet-stream
    Header set Content-Disposition attachment

    I copy-pasted from here
    I always use his site for documentation and tips - recommending!

  3. Yatish Bhula Madhav
    Posted 6 months ago #

    Hi there helirexi,

    Apologies for the late response. Great, thank you. I'm not sure how I saw past the “Always Force Download” setting - enabling that did the trick.

    Thank you


You must log in to post.

About this Plugin

About this Topic