Zen Cart Logo
Forums / General Questions / Cannot disable streaming download. Is there any way to do this?

Cannot disable streaming download. Is there any way to do this?

Views: 652

Results 1 to 4 of 4
22 Aug 2012, 12:30 PM
#1
ttenzan avatar

ttenzan

New Zenner

Join Date:
Aug 2012
Posts:
3
Plugin Contributions:
0

Cannot disable streaming download. Is there any way to do this?

Hello,

I sell downloadable WMV files in my Zencart and I configured my Zencart as below:

Enable Downloads -> true
Download by Redirect -> true
Download by streaming -> false

But when I click the "download" button from my PC, it launchs Windows Media Player automatically and starts to play the WMV files. So I have to RIGHT-CLICK mouse to save the files.

However, what I want to do is when users click the "download" button, instead of playing the file, it will pup-up a file saving dialog box to let users save the file to their PC. Can any one tell me how I can do this? Thank you very much!!

22 Aug 2012, 3:07 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Cannot disable streaming download. Is there any way to do this?

Far as I know, that's controlled by your visitors' browsers and whatever software that's installed on their computers, not you. The usual way of getting around that is to have your files compressed into .zip files.

23 Aug 2012, 5:50 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Cannot disable streaming download. Is there any way to do this?

The use of the term "streaming" here is incorrect.

As stevesh said, your problem is that customers' browsers are set up by default to open those files directly for immediate playback, overriding what Zen Cart normally tells them to do.

While the following link is in the context of handling PDFs having the same problem, the solution applies equally:
http://www.zen-cart.com/showthread.php?193696-Open-Downloads-in-new-window&p=1111510#post1111510

... and is built-in to v150, so upgrading is worth considering ;)

23 Aug 2012, 11:07 AM
#4
ttenzan avatar

ttenzan

New Zenner

Join Date:
Aug 2012
Posts:
3
Plugin Contributions:
0

Re: Cannot disable streaming download. Is there any way to do this?

Hi Stevesh and DrByte,

Thank you very much for your advices. I modified /pub/.htaccess and it works great now:clap:. Thanks again!!