Forums / General Questions / Digital Download File Size Cap?

Digital Download File Size Cap?

Locked

Views: 1,461

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
31 Aug 2010, 3:17 PM
#1
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Digital Download File Size Cap?

All of my digital downloads have worked fine until now. I have an HD video file that it about 2.4GB and when purchase is complete, it says the file size is 0 bytes and it doesn't download the full 2.4GB.

Anyone heard of this?

Thank you in advance!

31 Aug 2010, 3:25 PM
#2
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

I should add that I can download the file via FTP with no problems.

31 Aug 2010, 5:35 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Digital Download File Size Cap?

bowserhound:

All of my digital downloads have worked fine until now.
What exactly does "until now" mean? You've left out important information which is probably the clue to the cause of the problem.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Aug 2010, 7:05 PM
#4
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

Every digital download in my store works fine with exception to the 2.4GB file that was added today.

Sorry for any confusion.

31 Aug 2010, 7:13 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Digital Download File Size Cap?

Okay, so "until now" appears to mean "until I tried this new huge file size that I've never used before".

The more information you provide, the easier it is to help ... ie:

What's the file type? (extension)
What's the file size/type for all your other working downloads?
What's your download-delivery method? ie: is Download by Redirect on or off? Is streaming on or off?
If you point it to a smaller sized file, what's the max size that it will serve properly for you?
What version of Zen Cart are you using?
What version of PHP?
What webserver engine? apache/IIS/etc?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Aug 2010, 7:26 PM
#6
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

DrByte:

Okay, so "until now" appears to mean "until I tried this new huge file size that I've never used before". Yes

The more information you provide, the easier it is to help ... ie:

What's the file type? (extension) .MOV
What's the file size/type for all your other working downloads? All files are .MOV, up to 1.6GB
What's your download-delivery method? ie: is Download by Redirect on or off? Is streaming on or off? Not sure really. They are all in the correct folder that I have renamed. All files are Valid in the downloads manager.
If you point it to a smaller sized file, what's the max size that it will serve properly for you? 1.6GB
What version of Zen Cart are you using? 1.3.8
What version of PHP? Don't know off hand, behind firewall at work so I cannot access CPanel/WHM
What webserver engine? apache/IIS/etc?Don't know off hand, behind firewall at work so I cannot access CPanel/WHM

I'm guessing that there's either something in zen cart or on my server that has a cap on file size. But like I said, I can download the file from my server with no problems via FTP. Downloading via a browser does not work.

Thank you

31 Aug 2010, 7:35 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Digital Download File Size Cap?

Zen Cart doesn't impose any maximums programmatically as far as downloading files is concerned.

What are your settings under Admin->Configuration->Attribute Settings ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Aug 2010, 8:13 PM
#8
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

Attribute Settings
Title Value Action
Enable Downloads true
Download by Redirect true
Download by streaming false
Download Expiration (Number of Days) 7
Number of Downloads Allowed - Per Product 2
Downloads Controller Update Status Value 4
Downloads Controller Order Status Value >= lower value 2
Downloads Controller Order Status Value <= upper value 4
Enable Price Factor true
Enable Qty Price Discount true
Enable Attribute Images true
Enable Text Pricing by word or letter true
Text Pricing - Spaces are Free 1
Read Only option type - Ignore for Add to Cart 1

31 Aug 2010, 8:37 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Digital Download File Size Cap?

If you download the file via your browser by visiting your_site.com/download/the_filename.mov ... what happens?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Aug 2010, 9:38 PM
#10
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

Don't know, I deleted the file already since it was not working. It will be a while before I have a new version uploaded. Will let you know what happens. Thank you for your help.

1 Sep 2010, 2:56 PM
#11
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

Okay, so I asked my host about anything on their end that would cause this and they said they configured the server to allow huge files to be downloaded. They also suggested I change the Maximum file size in the Admin > Config section of zen cart.

So, now I cannot log into the admin area (username & pass just go blank), and when customers try to log into the store, it says "There was a security error when trying to login."

HELP PLEASE!

1 Sep 2010, 3:06 PM
#12
bowserhound avatar

bowserhound

New Zenner

Join Date:
Nov 2009
Posts:
25
Plugin Contributions:
0

Re: Digital Download File Size Cap?

Okay, so I asked my host about anything on their end that would cause this and they said they configured the server to allow huge files to be downloaded. They also suggested I change the Maximum file size in the Admin > Config section of zen cart.

So, now I cannot log into the admin area (username & pass just go blank), and when customers try to log into the store, it says "There was a security error when trying to login."

HELP PLEASE!

1 Sep 2010, 5:25 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Digital Download File Size Cap?

bowserhound:

Okay, so I asked my host about anything on their end that would cause this and they said they configured the server to allow huge files to be downloaded. They also suggested I change the Maximum file size in the Admin > Config section of zen cart.That setting is for uploading files, not for downloading.
As I said before, Zen Cart doesn't do anything to impose limits on sizes of downloadable files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.