How can I change the attachment storage path?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abner
    Junior Member
    • Jul 2016
    • 13

    How can I change the attachment storage path?

    I want to change the path /data files for another drive, how can I do it?

    thanks for your help
    Last edited by abner; 05-08-2017, 09:43 PM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    There you can find the files path
    application/Espo/Core/FileStorage/Storages/EspoUploadDir.php

    Comment

    • wtconseil
      Active Community Member
      • Apr 2015
      • 335

      #3
      Maybe it should be configurable through config.php ?

      Comment

      • abner
        Junior Member
        • Jul 2016
        • 13

        #4
        Thanks for yuor help.

        Now I have the following problem, when I install Espo the data directory I installed the default directory, which happens that in the current drive I do not have enough space and I need the new files to be saved in a directory direfente, my question is: How can I do so that the files saved in the previous directory can continue browsing them?

        Comment

        • Patrick
          Member
          • Sep 2016
          • 46

          #5
          if you are on unix, symbolic link will help.

          Comment

          • Clintre
            Junior Member
            • Sep 2016
            • 29

            #6
            Originally posted by wtconseil
            Maybe it should be configurable through config.php ?
            Agreed all configuration should be done in the config file.

            Comment

            Working...