
August 13th, 2000, 03:24 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
Force file downloading for known file types
<i><b>Originally posted by : Joe L (noamira@bigassweb.com)</b></i><br />I'm trying to force the client's browser to open the "downlowd this file to..." dialog box for a word document (filename.doc), instead of opening it from within the browser.<br />I'm aware that this should work:<br />response.addHeader "content-disposition", "attachment;<br />filename=filename.ext"<br />but where should i put it? if i put it on the link's page - this page is "downloaded" and i don't know how to put an asp script on a word document... sorry it was so long, but can any1 help??<br /><br />
|