PDF file opens in browser instead of downloading?

Viewing 6 posts - 1 through 6 (of 6 total)
#173077

Arvind Kumar
Participant

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?

#173090

Nayeem Riddhi
Moderator

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

#173152

Arvind Kumar
Participant

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

#173161

Nayeem Riddhi
Moderator

Hello Arvind Kumar,

I think the link is okay now. For attaching file options, you can check this doc too,

Attach File

please check and let me know

Thank you and regards

#173213

Arvind Kumar
Participant
This reply has been marked as private.
#173244

Nayeem Riddhi
Moderator

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

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘PDF file opens in browser instead of downloading?’ is closed to new replies.