?
Solved

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

Posted on 2014-09-03
5
Medium Priority
?
128 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 84

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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

I spend far too much time on the web keeping up with the news: politics, the environment, computer stuff, the Experts Exchange. It's never-ending. But many of the most informative web pages are overwhelmed with noise: scrolling banners, flashing tex…
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…
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.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

764 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