Page 1 of 1

Filename not right

Posted: 10 Nov 2017, 14:40
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?

Re: Filename not right

Posted: 13 Nov 2017, 16:36
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

Re: Filename not right

Posted: 18 Nov 2017, 22:11
by weltio
It's a gif - for binary files it doesnt seem to happen.
But frankly the bigger problem is the file name :(

Re: Filename not right

Posted: 18 Nov 2017, 22:42
by weltio
Solved - The proxy swallowed the content-disposition header

Re: Filename not right

Posted: 19 Nov 2017, 15:13
by Jan
Ok, great to hear it.

Jan