ابحث في الدعم

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

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

  • 1 (رد واحد)
  • 1 has this problem
  • 6 views
  • آخر ردّ كتبه 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 ?