Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 5 отговора
  • 1 има този проблем
  • 5 изгледи
  • Последен отговор от SwathiNomula

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.