Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Error in Attachment file name
posted 5 years ago
Hi below is my code
response.setHeader("Content-Disposition", "attachment; filename="+fileName);
In IE7 the file name is getting appended with some junk charaters.
For IE8 and Firefox it is working correctly.
Did anybody know the reason?
From the trial and error method what I understand is ‘_S ‘is causing the problem.
If we change ‘_S’ to some other letters or append another letter in the end of filename this issue is not coming.
Is there any work around for this?Did anybody knows the reason for this?
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
Download the .lzh file with prompting file save dialog
EMail attachment File Name: HOW TO?
how to add -Dfile.encoding=UTF-8
Getting attachment filename with special characters(JAVA MAIL API)
Urgent(Attachment opening inNetscape 6.2)