Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Excel download

  • 8 àwọn èsì
  • 1 ní ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ tfodor

more options

When I download an Excel fike from my own website (for example: https://www.tfodor.hu/pareto-diagram-excel.php Download = Letöltés) the attached image appears. The file is being downloaded. This is not the case with Edge and Chrome.When you download an Excel file from another webpage, you are asked to save or open it.

When I download an Excel fike from my own website (for example: https://www.tfodor.hu/pareto-diagram-excel.php Download = Letöltés) the attached image appears. The file is being downloaded. This is not the case with Edge and Chrome.When you download an Excel file from another webpage, you are asked to save or open it.
Ìsopọ̀ yíyà aṣàfihàn

Ọ̀nà àbáyọ tí a yàn

Then I guess you cannot edit your webserver configuration, so you should contact their support with your issue.

Ka ìdáhùn ni ìṣètò kíkà 👍 0

All Replies (8)

more options

Ez a konkrét eset a weboldal hibájából fakad, ugyanis a webkiszolgáló nem tölti ki a „content-type” HTTP-fejlécet, amely a fájl MIME-típusát tartalmazná (XLSX esetén egyébként application/vnd.openxmlformats-officedocument.spreadsheetml.sheet értéket kellene tartalmaznia).

In English: The current issue is caused by the website itself, the web server does not fill the „content-type” HTTP header, which would contain the MIME type of the file (for XLSX the correct MIME type would be application/vnd.openxmlformats-officedocument.spreadsheetml.sheet).

Ti ṣàtúnṣe nípa Balázs Meskó

more options

Unfortunately, this did not solve the problem. Content-Type is optional and this error has not occurred before. I tried, but nothing changed.

more options

What have you tried exactly? Content-Type is indeed not mandatory, but it SHOULD be set (all caps, meaning the RFC says so). Even Chromium complains that the Content-Type is invalid, it just detects the actual MIME type through MIME sniffing.

more options

Thank you for your help. I placed in the head the next: <meta http-equiv="content-type" content="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"> For this nothing changed. Firefox on my iPhon can open this Excel file correctly.

more options

First of all: Firefox for iOS is actually a skinned Safari, so it behaves differently than "normal" (Gecko-based) Firefox.

That meta tag is not valid, and it also does not make much sense. You don't need to set Content-Type at a HTML file, but in the HTTP headers. So to fix this issue, I'd need to know what web server do you use.

Ti ṣàtúnṣe nípa Balázs Meskó

more options

My webpage is on Hostinger server.

more options

Ọ̀nà àbáyọ Tí a Yàn

Then I guess you cannot edit your webserver configuration, so you should contact their support with your issue.

more options

Thanks for the help! I finally found the solution on the internet. I enclose the two links that can help others if they run into this problem: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Configuring_server_MIME_types https://htaccessbook.com/useful-htaccess-rules/