HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change local /uploads folder to remote one

Is there any idea how to change local /uploads folder to remote one? For example, I have test1.com and I want to upload files (attachments and images) to the test2.com/uploads. The reason why I want to do - there is much more free space on test2.com server.

In the /conf/constants.php:

if (!defined('PATH_UPLOADS')) {

  define('PATH_UPLOADS', PATH_ROOT.DS.'uploads');

I've tried to change the path to remote(also permissions 777), but I can feel it needs more deep analyzing into files of rich editor firstly. And secondly need to satisfy some criteria such as:

how to make http post data to remote

permission issues

etc..


If somebody has an ideas to go for?

Comments

Sign In or Register to comment.