Hi,
I have a page that POST's back to itself. I then want to return a .exe
file to the user, but the Save As dialog box keeps putting the file name in
there instead of the .exe file name.
I tried Jerry Asher's suggestion from a previous post,
set outputheaders [ns_conn outputheaders]
ns_set put $outputheaders Content-type application/octet-stream
ns_set put $outputheaders Content-Disposition \
"attachment; filename=\"[file tail foo.bar\"]"
ns_set put $outputheaders Content-length [file size $filename]
ns_returnfile 200 [ns_guesstype $filename] "$filename"
but this only seems to be working on NS for me, and not on IE. IE still
puts the file name in place. IE 5.5
Thanks !!
divney