Page 1 of 1

Downloads- storing files on different server than default OC

Posted: Tue Sep 21, 2010 6:15 pm
by Web-developer
Hello,

I was just wondering is there a secure way how to offer downloads that are hosted on different server than your default OC? Obviously in admin/config we can find:

Code: Select all

define('DIR_DOWNLOAD', 'public_html/download/');
In example we can upload files to "http://ocdownloads.othersite.com" and just link them there (i suspect it won't work any way), but what would be most optimal solution? Does it includes .htaccess rewirite mode or making php file that handles incoming request and picks up assinged files?

The reason why I came with this question is that I've ordered for client relativelly cheap hosting however after a while I've spotted that Terms & Condition don't allow "Offering video and/or audio streaming or downloads, MP3 Files" in shared servers, and request is to offer mobile clips and video-on-demand what I am trying to solve by uploading them to local server..

thank you in advance..

Re: Downloads- storing files on different server than defaul

Posted: Tue Sep 21, 2010 8:14 pm
by pixelartist
Hi,

i can not really answer your question, but maybe our questions are kind of connected. Because of legal terms, i am not allowed to store some files on my server to, but i am allowed to link to them. Mabe you can take a look at my question and check if we can combine forces for that ?

http://forum.opencart.com/viewtopic.php?f=20&t=20109

Kind regards,

Manuel

Re: Downloads- storing files on different server than defaul

Posted: Tue Sep 21, 2010 10:15 pm
by Web-developer
Hallo Manuel,

I'll be flexing this issue right now and I will post if any solution is found, however I am not really keen to play with controlers, maybe just php + htaccess handler would do the job.. afterwards maybe admin boys can re-suggest in most appropiate way.

gruss, Raimond