- This topic has 5 replies, 2 voices, and was last updated 3 years, 8 months ago by
Nayeem Riddhi.
I am using free version of plugin. I have created a page for download of PDF eBook. When I click on the link to download, the ebook opens in the browser with the file location instead of downloading. (“open in new browser” option is not enabled in settings).
With this file location anyone can have access to download it. Why the file not downloading?
Hello Arvind Kumar,
Hope you are well. And sorry for the inconvenience. Are you using the media library option for file uploading? Choosing from the Select From Media Library option. By default, it will do so. You can also choose the other option too. When you attach files from the media library as a URL WPDM simply redirects to that URL when a user clicks on the download button, but when you upload a file directly or attach a file from server as a server path, WPDM handles the download process and so there it can decide whether the file will open in browser or force download. So, if your file is already in the media library, and you want them to download instead of open in the browser, please attach those files using the server file browser instead of the media library file selector. please let me know
Thank you and regards
Thank u for your reply.
Through default settings of shortcode the download link is provided. Kindly guide how to attach a file from server as a server path to initiate download?
Kindly check the link https://awaken-spiritually.com/test-download
Hello Arvind Kumar,
I think the link is okay now. For attaching file options, you can check this doc too,
https://www.wpdownloadmanager.com/doc/add-new-package/attach-file/
please check and let me know
Thank you and regards
Hello Arvind Kumar,
Sorry for the delay. You will get extended features from WordPress Download Manager Pro like,
the addon will generate a temporary download link with 4 hours expiration time,
I hope you have understood now.
Thank you and regards
The topic "PDF file opens in browser instead of downloading?" is closed to new replies.