MIME format and file save dialog question ... again
Posted on 2002-06-27
ok. so i've got to be mentally challenged. could somebody help out a mentally challenged "expert"? for the life of me i can't force a download dialog box to pop up when IE (haven't even bothered with netscape) knows the MIME type and tries to open the file in the internet browser...
here's "all" i want to do. click my link to an .asp page that picks the "right" file (call it a.doc or a.xls), and prompts the user to open it from current location or save to disk.
i KNOW it's doable, i just can't for the life of me make it work.
full credit will only be given if someone provides the code. i won't accept hyperlinks.
this MUST be simple... i've looked all over the net and i've found nothing that "works" for me yet. *sigh*.
hopefully this question is moronically simple and i get an answer speedily as i'm sick of feeling stupid over this!!! lol! ;-) the server runs IIS 4 with sp6 installed. i've tried all the answers in the EE db (that i could find that pertain to this issue) and still i can't make it happen. i've tried using an ADO recordset, opening the file using the FSO, and even "including" the file. i do NOT have office installed on the server, do i need to? it seems that ADO won't open the file which leads me to believe that the server needs office installed?
anyway... i'll slide the scale too as i want the answer NOW, if i get a response within:
- 30 minutes from the timestamp = 200 points
- 1 hr from timestamp = 150 pts
- 2 hr from timestamp = 100 pts
- other = 50 pts..
i'll check back every 5-10 minutes and try suggestions pronto.