Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

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

  • 1 답장
  • 1 이 문제를 만남
  • 4 보기
  • 최종 답변자: 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?

모든 댓글 (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 ?