Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File download box (dxf file) 1

Status
Not open for further replies.

rosie123

Technical User
Dec 15, 2003
46
US
Hi all,
I have a PDF posted on a website with 3 links at the bottom:
1 to open the DWG file, 1 to open the DXF file and 1 to copy the cad file.

Here's the deal: I cannot assume that all customers, users, etc. will have CAD viewers installed on their machines. When the user clicks on the dwg file internet explorer brings up the file download box asking the user what they want to do with the file.
When I click on the DXF file i do not get the file download box, instead I get a webpage with source code.
I've tried adding the dxf file extension in the control panel and also adjusting my browser setting and I cannot get this to work.
I need the file download box to come up when clicking on the dxf file. I'm using windows 2000. I noticed that on a windows 98 machine the download box DOES come up for the dxf file. However, I need this box to come up for all windows versions...
When adding the dxf file to the file extensions in the control panel I also tried checking the box that says "confirm after download" and it still doesn't work.
Any ideas?

Here's what I get when I click on the dxf file button...it takes me to a web page and displays this: (i didn't copy all that it displayed...its long). I need the file download box to appear not this....help please!

  0
SECTION
  2
HEADER
  9
$ACADVER
  1
AC1012
  9
$DWGCODEPAGE
  3
ansi_1252
  9
$INSBASE
 10
0.0
 20
0.0
 30
0.0
  9
$EXTMIN
 10
0.0
 20
0.0
 30
0.0
  9
$EXTMAX
 10
336.0
 20
432.0
 30
0.0
  9
$LIMMIN
 10
0.0
 20
0.0
  9
$LIMMAX
 10
12.0
 20
9.0
  9
$ORTHOMODE
 70
     1
  9
$REGENMODE
 70
     1
  9
$FILLMODE
 70
     1
  9
$QTEXTMODE
 70
     0
  9
$MIRRTEXT
 70
     1
  9
$DRAGMODE
 70
     2
  9
$LTSCALE
 40
6.0
  9
$OSMODE
 70
   136
  9
$ATTMODE
 70
     1
  9
$TEXTSIZE
 40
4.0
  9
$TRACEWID
 40
0.05
  9
$TEXTSTYLE
  7
SIMPLEX
  9
$CLAYER
  8
1
  9
$CELTYPE
  6
BYLAYER
  9
$CECOLOR
 62
   256
  9
$CELTSCALE
 40
1.0
  9
$DELOBJ
 70
     1
  9
$DISPSILH
 70
     0
  9
$DIMSCALE
 40
32.0
  9
$DIMASZ
 40
0.125
  9
$DIMEXO
 40
0.125
  9
$DIMDLI
 40
0.375
  9
$DIMRND
 40

 

On your server, you'd need to configure the MIME type for DXF files to be a binary type. That should stop the browser opening them.

Hope this helps,

Dan
 
That did it!!!!!!!!!!!!!!!!!!!!!
I'm estatic! I've been working on this project for over a week now....thank you SO SO SO SO much!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top