Page 1 of 1
File download 4+GB
Posted: Thu Mar 03, 2011 12:22 pm
by Webnet
It appears as though PHP's filesize() function is causing me problems on my file downloads on my OpenCart install. I'm wondering if anyone knows a solution for downloading files this large. I have 1,100 sermons that are being downloaded that run about 17 GB I'm trying to permit as a download.
Any suggestions for workarounds?
Re: File download 4+GB
Posted: Thu Mar 03, 2011 2:23 pm
by i2Paq
Talk to your hoster, they are the only ones that can solve this for you.
Re: File download 4+GB
Posted: Tue Mar 15, 2011 11:24 am
by amxfsx
Use an FTP tool to load the files to your hosting account. Then, purchase the "Download" OpenCart extension to add the downloads in the DOWNLOAD area of OpenCart's administration panel:
http://www.opencart.com/index.php?route ... order=DESC
Re: File download 4+GB
Posted: Tue Mar 15, 2011 9:58 pm
by mberlant
One way to accomplish this is to archive your 17GB library into a multi-part .rar file.
You would, for example:
- Tell your favorite .rar program (such as WinRAR) to save the archive in 1GB chunks.
- Upload each of these files to your OpenCart downloads area.
- Create a product that includes all 17 or 18 parts of the archive.
- Have your customers purchase this item, and then find all 17 or 18 files sitting in his/her download area.
- Have the customer download all of the files.
- Instruct the customer to extract the files locally after downloading them all.
An added benefit of this scheme is that the customer will only need to recover a 1GB file in case of a failed download, and not the entire 17GB library.
Good luck.