搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

While downloading an exe file from my application, incorrect file name is shown.

more options

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).
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).

所有回覆 (5)

more options

please find the screenshots attached.

Screenshot 1: from firefox Screenshot 2: from chrome

由 SwathiNomula 於 修改

more options

hello, would you be able to provide a sample link where this behaviour can be observed?

more options

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.

more options

@philipp am sorry. i should not ! can you please take a look on first screenshot that i've attached.

由 SwathiNomula 於 修改

more options

@cor-el thanks for your time.. but excel file is downloading with right name as i said.