IE File Download Reanme Issue

  • Thread starter Thread starter ML
  • Start date Start date
M

ML

I have an ASP.NET component for listing files for download. If the file has
multipart extension such as "file.abc.def" when the link is clicked to
download the file IE renames it to "file[1].abc.def" If the file just has a
normal extension all is fine.

I had this same issue with old ASP so I think its more IE related than ASP
itself. Any ideas on how to force IE to keep the proper name via ASP.NET??
 
Anyone?
Been trying to track down this issue now off and on over the last 2 years as
it has come up and no luck.
Any thoughts would be appreciated.
 
This is just a thought:

How about renaming the file using the response object to remove the
multi-part extension so file.abc.def would become either myfile.abc or
myfile.def. I'm not sure if that would confound the rest of your application
logic though, like if you were depending on that exact format for processing
later on.

--
Regards,
Alvin Bruney
http://www.networkip.net/dotnet/tidbits/default.htm
ML said:
Anyone?
Been trying to track down this issue now off and on over the last 2 years as
it has come up and no luck.
Any thoughts would be appreciated.

ML said:
I have an ASP.NET component for listing files for download. If the file has
multipart extension such as "file.abc.def" when the link is clicked to
download the file IE renames it to "file[1].abc.def" If the file just
has
a
normal extension all is fine.

I had this same issue with old ASP so I think its more IE related than ASP
itself. Any ideas on how to force IE to keep the proper name via ASP.NET??
 
No the file needs to have the exact same name so that
wouldn't really work.

What I am looking for is a solution to keep the file name
as is, which seems to be a bug with IE from what I have
found so far.
-----Original Message-----
This is just a thought:

How about renaming the file using the response object to remove the
multi-part extension so file.abc.def would become either myfile.abc or
myfile.def. I'm not sure if that would confound the rest of your application
logic though, like if you were depending on that exact format for processing
later on.

--
Regards,
Alvin Bruney
http://www.networkip.net/dotnet/tidbits/default.htm
ML said:
Anyone?
Been trying to track down this issue now off and on
over the last 2 years
as
it has come up and no luck.
Any thoughts would be appreciated.

ML said:
I have an ASP.NET component for listing files for
download. If the file
has
multipart extension such as "file.abc.def" when the link is clicked to
download the file IE renames it to "file[1].abc.def"
If the file just
has
more IE related than
ASP
proper name via
ASP.NET??


.
 
Back
Top