Solved

In Chrome, why do some PDFs just go into the downloads tray?

Posted on 2014-09-03
5
124 Views
Last Modified: 2014-09-03
Some pdf files display immediately in Chrome (e.g. http://www.budget.gov.au/2014-15/content/bp2/download/BP2_consolidated.pdf).

Other pdf files go into the downloads tray (e.g. ofm.mq.edu.au/PDF/map_colour.pdf).

Is there a reason for this?
0
Comment
Question by:GrahamDLovell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40302463
Yes, the web site can code the link as a download instead of a simple link that will open in Chrome.
0
 

Author Comment

by:GrahamDLovell
ID: 40302725
How do you code the link as a download?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40302741
You have to do that one the server where you can set the response headers.  This page http://webdesign.about.com/od/php/ht/force_download.htm shows one way to do it with PHP.  You can't do it with just HTML because you can't set the headers for the file.
0
 

Author Closing Comment

by:GrahamDLovell
ID: 40302751
Thanks.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40302765
You're welcome, glad to help.  Just for giggles, I used that method on one of my pages... http://www.dibsplace.com/webdev/index.html .  Look for the two different links for Web Design Outline.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Now-a-days, indirectly, postal services have been replaced by email services. Yes, whenever we hear the word "email" a lot of people only think of gmail. Some people still think that email and gmail are one and the same thing :-). Let's see some …
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question