Attachments stored in the database move to file system.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Craig
    Senior Member
    • Jan 2008
    • 996
    • 6.X

    Attachments stored in the database move to file system.

    If I change it in the admincp to store attachments into the filesystem, does it transfer attachments that are existing in the db to the file system?

    v5.4.3
    adktramping ~ my happy place.

    "Whoever said practice makes perfect was an idiot. Humans can't be perfect because we're not machines." ~ Sam Gardner.

    Vote for your favorite feature requests and the bugs you want to see fixed.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73976

    #2
    Yes. It also offers to delete the file's binary information from the database at the end of the move.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Craig
      Senior Member
      • Jan 2008
      • 996
      • 6.X

      #3
      and the best practice for that is, to do, or not to.?
      adktramping ~ my happy place.

      "Whoever said practice makes perfect was an idiot. Humans can't be perfect because we're not machines." ~ Sam Gardner.

      Vote for your favorite feature requests and the bugs you want to see fixed.

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73976

        #4
        Best practice would be to delete the filedata out of the database once you verify that your attachments are still working properly.

        Best practice would have us store attachments in the filesystem by default. However, the world, at large, doesn't do best practice very well.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Craig
          Senior Member
          • Jan 2008
          • 996
          • 6.X

          #5
          thank you.

          final question. Since the directory is outside the web root, how can i point to it in the admincp? I use / and without the slash with no success.
          adktramping ~ my happy place.

          "Whoever said practice makes perfect was an idiot. Humans can't be perfect because we're not machines." ~ Sam Gardner.

          Vote for your favorite feature requests and the bugs you want to see fixed.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73976

            #6
            Use the full path from the root of the drive/mount.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • Craig
              Senior Member
              • Jan 2008
              • 996
              • 6.X

              #7
              Thank you, again.
              adktramping ~ my happy place.

              "Whoever said practice makes perfect was an idiot. Humans can't be perfect because we're not machines." ~ Sam Gardner.

              Vote for your favorite feature requests and the bugs you want to see fixed.

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...