Solved

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

Posted on 2014-09-03
5
125 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

734 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