PDF file opens in browser instead of downloading?

in Download Manager Free

Viewing 6 posts - 1 through 6 (of 6 total)
Jun 13, 2022 at 10:37 am
#173077
Participant
Arvind Kumar
OP

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?

Jun 13, 2022 at 2:35 pm
#173090
Moderator
Nayeem Riddhi
Staff

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

Jun 15, 2022 at 6:48 am
#173152
Participant
Arvind Kumar
OP

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

Jun 15, 2022 at 10:51 am
#173161
Moderator
Nayeem Riddhi
Staff

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

Jun 16, 2022 at 6:08 pm
#173213
Participant
Arvind Kumar
OP
This reply has been marked as private.
Jun 17, 2022 at 3:14 pm
#173244
Moderator
Nayeem Riddhi
Staff

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.