Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Firefox Doesn't Open GPX (GPS Exchange File)

  • 2 ответа
  • 1 имеет эту проблему
  • 8 просмотров
  • Последний ответ от paulp575123

more options

I'm setting up a website using the following code to open a GPX file using Garmin BaseCamp:

<td>
  <span class="TEXT-BOLD">GPS Track File:</span>
  <br>
  <a href="2018-11-03-Six_Saddles_Ride_track.gpx" target="_blank">GPX track file</a>
</td>

When I click on the link, Firefox opens the file as a text file in a new window.

In the Tools - Settings - Applications area, I have set Firefox to open GPX files with Garmain BaseCamp. I have verified that the setting points to the Garmin BaseCamp file. If I click on the file in Windows File Explorer, it open with Garmin BaseCamp.

What did I do wrong?

I'm setting up a website using the following code to open a GPX file using Garmin BaseCamp: <pre><nowiki><td> <span class="TEXT-BOLD">GPS Track File:</span> <br> <a href="2018-11-03-Six_Saddles_Ride_track.gpx" target="_blank">GPX track file</a> </td></nowiki></pre><br> When I click on the link, Firefox opens the file as a text file in a new window. In the Tools - Settings - Applications area, I have set Firefox to open GPX files with Garmain BaseCamp. I have verified that the setting points to the Garmin BaseCamp file. If I click on the file in Windows File Explorer, it open with Garmin BaseCamp. What did I do wrong?

Изменено cor-el

Все ответы (2)

more options

It is possible that the server sends this file as text/plain and not with a valid MIME type for this file extension. This can happen if the server isn't configured correctly and falls back to a basic MIME type like text/plain. You would have to make sure that you setup the server properly to make this work in Firefox.

You can check the HTTP response headers in the Network Monitor.

more options

Problem partially resolved:

1. On the web, it does properly open the Garmin BaseCamp program. 2. On my home computer, it does NOT open Garmin BaseCamp program; it opens the file as a text file.

I have checked and Firefox is set to open GPX files using Garmin BaseCamp.

Any ideas on how to solve this locally?