Filename not right

Phoca Download - download manager
weltio
Phoca Member
Phoca Member
Posts: 11
Joined: 14 Mar 2014, 20:57

Filename not right

Post by weltio »

Hi,

The file links look like that:

Code: Select all

https://localhost/download?download=6:filename
But when I click on them to download, the download filename will be: "download" which is the phoca category of the file.
For category "abc" the download file name would be "abc".

Furthermore, when I click on download, the browser tries to open the file. Is there a way to tell phoca, that the file shall only be downloaded?
Last edited by weltio on 18 Nov 2017, 22:43, edited 1 time in total.

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filename not right

Post by Jan »

Hi, Phoca Download is download component and all the files listed there are forced to download not to display. :idea: Can you paste the link where this occurs, to see it live?

Jan
If you find Phoca extensions useful, please support the project
weltio
Phoca Member
Phoca Member
Posts: 11
Joined: 14 Mar 2014, 20:57

Re: Filename not right

Post by weltio »

It's a gif - for binary files it doesnt seem to happen.
But frankly the bigger problem is the file name :(
weltio
Phoca Member
Phoca Member
Posts: 11
Joined: 14 Mar 2014, 20:57

Re: Filename not right

Post by weltio »

Solved - The proxy swallowed the content-disposition header
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filename not right

Post by Jan »

Ok, great to hear it.

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