While downloading an exe file from my application, incorrect file name is shown.
Hello all.
the filename is incorrect when i download an exe file from my application. The actual file name is "RecordMinder".exe but it is showing "_Content_RecordMinder".exe in the popup( you have chosen to open...). and this is happening only for exe file because i have an another excel downloadable file which comes with the right name. and the main thing is, these both files present under same folder called "Content" in my mvc application (visual studio 2012). i do not want this folder name to be shown on. once it is downloaded, when i see download list in my local computer, it shows right name. but not on popup which comes as we click on download link. and it is working fine in all other major browsers(ie, chrome).
Todas as respostas (5)
please find the screenshots attached.
Screenshot 1: from firefox Screenshot 2: from chrome
Modificado por SwathiNomula a
hello, would you be able to provide a sample link where this behaviour can be observed?
It is possible that the link is presented with backslashes that are converted to underscores by Firefox, but ignored by Google Chrome. Firefox would expect forward slashes in such a case.
@philipp am sorry. i should not ! can you please take a look on first screenshot that i've attached.
Modificado por SwathiNomula a
@cor-el thanks for your time.. but excel file is downloading with right name as i said.