Announcement

Collapse
No announcement yet.

Attachments stored in the database move to file system.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

    vB Mods That Rock!

  • #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 customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      and the best practice for that is, to do, or not to.?
      Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

      vB Mods That Rock!

      Comment


      • #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 customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #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.
          Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

          vB Mods That Rock!

          Comment


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

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • #7
              Thank you, again.
              Organizations must hire quality people — "If you hire stupid people, they are not going to get better over time," ~ Gordon Graham.

              vB Mods That Rock!

              Comment

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