Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 1 trả lời
  • 1 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (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 ?