Post by Web-developer » Tue Sep 21, 2010 6:15 pm

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..

User avatar
Newbie

Posts

Joined
Tue Sep 21, 2010 5:57 pm

Post by pixelartist » Tue Sep 21, 2010 8:14 pm

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

Its never easy ...


User avatar
Newbie

Posts

Joined
Thu Sep 16, 2010 7:13 pm
Location - Berlin, Germany

Post by Web-developer » Tue Sep 21, 2010 10:15 pm

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

User avatar
Newbie

Posts

Joined
Tue Sep 21, 2010 5:57 pm
Who is online

Users browsing this forum: Google [Bot] and 112 guests