Change files location folder

Discussion in 'Setting-up protection' started by youjoomla, Oct 21, 2013.

  1. youjoomla

    youjoomla Member

    Joined:
    May 15, 2007
    Messages:
    61
    Is it possible to change the upload files location folder?
    Reason why I am asking is in v3 we had files (over 4k ) stored outside public folder on the server and there is another system that is also using the files. So instead having duplicated files for amember and another system can amember data\upload folder be changed?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    You can remove standard folder data/upload and do symlink upload in folder data. this symlink shoud point to your other folder with files eg. ln -s upload ~/my-files. I assume you use linux on your server.
  3. youjoomla

    youjoomla Member

    Joined:
    May 15, 2007
    Messages:
    61
    Sounds doable , you sure amamber will "see" the files from symlinked folder when I try to add files to products?
  4. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Yes, I am sure. Why not? I tested it on my local install and it works perfect as expected.

Share This Page