C
coolsai
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
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