On this page http://www.antiekroute-veluwe.nl/fiets-de-route there are three downloads atthe bottom of the page.
The first one is a gpx file, the other two are zip files and are working fine.
In the backend of phocadownload i supply at options/download/allowed filetypes this code:
{gpx=application/Figawi}
Also in options/opload/allowed filetypes I supplied the same code.
If you click on the gpx file you see the following:
http://www.antiekroute-veluwe.nl/Downlo ... erwijk.gpx
Whats going wrong>
The names of the gpx files are fine in the baxkend and on the server.
Failure download gpx file
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Failure download gpx file
Hi, I see, the gpx seems to be xml and it is direclty displayed in browsers - really no idea if there is some server settings which do this, so I think, the best method, if you want to let user download the file is to zip it. 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 05 Jan 2010, 23:42
Re: Failure download gpx file
Jan,
Its solved now. I had made for the downloads a map "Downloads".
With zip files it is working well, but gpx files not.
I have uploaded now the gpx file to httpdocs/phocadownload/userupload and it is working fine.
Probably a security issue of my host for that kind of a file when its not uploaded to Joomla.
Its solved now. I had made for the downloads a map "Downloads".
With zip files it is working well, but gpx files not.
I have uploaded now the gpx file to httpdocs/phocadownload/userupload and it is working fine.
Probably a security issue of my host for that kind of a file when its not uploaded to Joomla.
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: