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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Custom file for custom application being downloaded as text file, appending ".txt"

  • 1 baphendule
  • 1 inale nkinga
  • 2 views
  • Igcine ukuphendulwa ngu cor-el

more options

When I download a file with my custom extension, i.e. "sample.abc", it is becoming "sample.abc.txt"

This does not happen in Google Chrome. Any idea why this is coming over as "text/plain" mimetype and how to fix it?

When I download a file with my custom extension, i.e. "sample.abc", it is becoming "sample.abc.txt" This does not happen in Google Chrome. Any idea why this is coming over as "text/plain" mimetype and how to fix it?

All Replies (1)

more options

How does the server send this file if you check this in the Network Monitor or Web/Browser Console (XHR) ?

Can you modify the filename before saving this file ?