Failure download gpx file

Phoca Download - download manager
lazy garfield
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Jan 2010, 23:42

Failure download gpx file

Post by lazy garfield »

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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Failure download gpx file

Post by Jan »

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. :idea:

Jan
If you find Phoca extensions useful, please support the project
lazy garfield
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Jan 2010, 23:42

Re: Failure download gpx file

Post by lazy garfield »

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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Failure download gpx file

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply