A
Alfredo
Hi,
I use the following code to allow my users to download files in my site:
Response.ClearContent()
Response.ClearHeaders()
Response.AddHeader("Content-Disposition", "attachment; filename=""" &
Session("sFileName") & """")
Response.ContentType = "application/x-msdownload"
Response.WriteFile(Session("sFilePath"))
The code works perfectly if file names doesn't include special characters
(i.e. "á", "é", etc.) When these characters are included in the name, they
are changed for others in the "open/save" box (i.e. it changes "reunión" for
"reunión")
Do you know any workaround for this issue??
Using VS2003 with updated .NET Framework 1.1.
Thanks in advance.
I use the following code to allow my users to download files in my site:
Response.ClearContent()
Response.ClearHeaders()
Response.AddHeader("Content-Disposition", "attachment; filename=""" &
Session("sFileName") & """")
Response.ContentType = "application/x-msdownload"
Response.WriteFile(Session("sFilePath"))
The code works perfectly if file names doesn't include special characters
(i.e. "á", "é", etc.) When these characters are included in the name, they
are changed for others in the "open/save" box (i.e. it changes "reunión" for
"reunión")
Do you know any workaround for this issue??
Using VS2003 with updated .NET Framework 1.1.
Thanks in advance.