Download-button - PDF file from Chrome:
Auteur : Arne T.
Visité 1303,
Followers 1,
Partagé 0
Problem: PDF-file can not be downloaded when using the "download"-button.
Case: Previously there has not been a problem, but now there is not possible to use Chrome to download a PDF-file I have on my website.
A pop-up window says the followin - translatet from Norwegian to English: ""This file does not have an app.... Install an app, or, if already one is installed,....".
Note 1: I use Adobe Acrobat Pro DC to create PDF-files.
Note 2: It is possible to use Firefox - but unfortunetely I can not control what my clients use...
Posté le
Link please?
Hello Arne,
Settings like this can be browser dependent, which explains why the download is initiated as expected in Firefox. It's quite possible that a recent Chrome update, add-on or browser extension has altered your previous Chrome configuration.
See this article for an explanation on how to force PDF downloads in Chrome:
Change the Default PDF Viewer in Chrome
Or you can force file downloads from the server side, using various means, one of the most common being the use of .htaccess files on Linux/Apache. See this DreamHost guide for an example:
https://help.dreamhost.com/hc/en-us/articles/216363147-How-can-I-force-a-file-to-be-downloaded-
Your own webhost will be able to advise you further.
Kind regards,
Paul
Search the WebSite X5 Help Center
(It > En) ... Download Button should work; ... in order to verify you should post the LINK as John has already asked you ...
... in addition to the suggestions you have already received from Paul, ... alternatively you could use a very simple and normal link (File or URL | File on the Internet) provided in the program, adding the "download" attribute with asymmetrical quotes in the field of input (other)!...
... if you want further clarifications, please notify me ...
.
ciao
.