Discussion:
ie6 download .tgz not working
(too old to reply)
c***@gmail.com
2008-12-10 18:38:18 UTC
Permalink
Hi All,
Our web application is trying to provide a link to a .tgz file and
provide an option to download the file by clicking the link. when we
click on the link,
I write the file content in ServletOutputStream, set the content type
to "application/octet-stream" and the "Content-Disposition" to
"attachment; filename=\" support.tgz \" ".
mozilla and IE7 show the save as or open buttons, when we select the
save button, they throw the save as window with the expected file name
and extension which is support.tgz. where as in IE6, it is saying the
file type as "un known type" and file name is also changed to url
name.do
Can any one please help me to solve this.
Any thought is welcome.
Thanks!
Sai
Robert Aldwinckle
2008-12-10 21:42:11 UTC
Permalink
Post by c***@gmail.com
Hi All,
Our web application is trying to provide a link to a .tgz file and
provide an option to download the file by clicking the link. when we
click on the link,
I write the file content in ServletOutputStream, set the content type
to "application/octet-stream" and the "Content-Disposition" to
"attachment; filename=\" support.tgz \" ".
By default IE ignores file extension specified there and goes by the file extension
implied by the content-type, which in this case would be none.
That would explain your symptom.
Post by c***@gmail.com
mozilla and IE7 show the save as or open buttons, when we select the
save button, they throw the save as window with the expected file name
and extension which is support.tgz. where as in IE6, it is saying the
file type as "un known type" and file name is also changed to url
name.do
Can any one please help me to solve this.
Any thought is welcome.
Hint: There is an override for this in Security Settings.
Post by c***@gmail.com
Thanks!
Sai
Good luck

Robert Aldwinckle
---

Loading...