MAC issues with direct files

Phoca Download - download manager
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

MAC issues with direct files

Post by Suge1w »

Hello,

I use this component on a very big website with over 6000 small audio files. The problem is that when a user on a Mac machine tries to download a file, it plays in the browser instead of downloading to their machine

I'm using Phoca Download 2.1.9 on 2.5 Joomla. Settings are direct link set to enabled.

You might ask why I do not disable direct link? Well, the problem is if I do that then every file on my site becomes corrupt and will only partially download.

This problem has been driving me crazy for months now and I cannot understand the solution. I'm worried that I may have to switch to another component and migrate all my data.

Before I resort to that, does anyone have any ideas about what is causing the issue?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: MAC issues with direct files

Post by Jan »

Hi, when using direct link, there there is no option for the component to somehow influence the browser's behaviour - direct link means, the browser's rules are applied and you cannot change it.

So the only one possible way is to not have it direct, then the component tries to change the header of sent data, which tells to the browser what it should do with the files. These are internet/browser/http rules so I think, changing to other component does not help as there is no other option for this :-( :idea:

Jan
If you find Phoca extensions useful, please support the project
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Re: MAC issues with direct files

Post by Suge1w »

Many thanks for this help Jan.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: MAC issues with direct files

Post by Jan »

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