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?
Talk to your hoster, they are the only ones that can solve this for you.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
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
http://www.opencart.com/index.php?route ... order=DESC
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.
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.
Please use proper English at all times, so that all members may understand you.
Who is online
Users browsing this forum: ianhaney50, paulfeakins and 65 guests