tags:

views:

29

answers:

2

I've got a problem with one of the pages within a website. This page will serve images according to the selection a user makes like PDF, GIF, DWG and.. DXF I understand why PDF and GIF will attempt to open in a browser, but the DXF files will (using firefox and chrome) try to open inside the browser window too - unsuccesfully, but attempting. How can I get my page to serve the files as a downloadable resource and not inside the browser? This is a problem with DXF (although, and if possible, I'd like the same behavior with the PDF).

Already added the DXF filetype to the metabase in order to allow access to this type of file.

A: 

So there is a page that serves the file and not a direct link to the file itself? Are you sending the right content-type for these files?

ZippyV
It's "serving" the url's to the files, not the actual file (so I don't mess with content-types or headers and suchlike).
riffnl
+1  A: 
Kieren Johnstone
This looks promising - will look into it right away!
riffnl
The article is classic ASP indeed (doesn't matter actually) - but this works!
riffnl