jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: DEFORM on 21.06.2019 23:11:09

Title: PDF downloads
Post by: DEFORM on 21.06.2019 23:11:09
I'm having an issue with PDFs.  I want the user to download them, not view them in the browser.  I've followed the directions seen in other forum posts, but it's not working.  Meaning I set "Which file types are to be opened in the Browser?" to not include pdf, to no avail. (I tried leaving the field blank and also only containing html, to the same effect).  Is there some other setting that could be causing this?
  Thanks.
Title: Re: PDF downloads
Post by: ColinM on 22.06.2019 17:01:38
Hi,
The settings you have used are ok but it may be your browser that is openig the pdf as a preview. See pic for an example with Firefox.Jd cannot control the users browser.

Colin


[gelöscht durch Administrator]
Title: Re: PDF downloads
Post by: DEFORM on 24.06.2019 19:09:02
My Firefox browser was set to "Always ask" and I also tried setting in to "Save File", but I still have the same problem.  On my old Joomla site (that I'm moving away from) that uses Joomla 1.5 and Remository, the PDFs are saved instead of opened.  I believe there is some problem in jDownloads that I'm not seeing.
Title: Re: PDF downloads
Post by: ColinM on 25.06.2019 10:45:06
Hi
I had assumed from your first post that config - Downloads tab -"Which file types are to be opened in the Browser?" the list did not include ,pdf and that you have not got a ,, sequence so it looks, for example, like
html,htm,txt,doc,jpg,jpeg,png,gif
Firefox needs to be set as indicated in attached pic. I personally like to select where to download. To be totally 'free' of requests set to use the 'Save files to' option and the default handling of pdf tyes to Save File
Just tried all of above and pdf files download directly.
Colin


[gelöscht durch Administrator]
Title: Re: PDF downloads
Post by: DEFORM on 25.06.2019 15:24:39
Those are the settings I have.  I found the problem.  Apparently when "Send Downloads using the PHP Script?" is set to No, PDFs always open in the browser for me.  I don't know why, but setting it to Yes is fine.  I'll test my other downloads with this setting and stick with it if they all work correctly.
Thanks.