1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Attachments in Database or File System?

Discussion in 'XenForo Questions and Support' started by bluemartian, Sep 3, 2012.

  1. bluemartian

    bluemartian Member

    I imported from an old vBulletin setup that stored attachments in the file system. XenForo seems to have followed suit, storing the attachments in the file system after import. I was wondering if there is an option to have it store attachments in the database? I have not come across it yet. Thanks!
  2. Chris D

    Chris D XenForo Developer Staff Member

    There is no such option, sorry.

    Attachments are all stored on the file system.
  3. bluemartian

    bluemartian Member

    That's probably for the best (file system versus DB) but I was wondering. Thanks for the answer!
    Chris D likes this.
  4. Janmaat

    Janmaat Active Member

    Is there any way to change the location within the file system?

    I'd like to have the attachments to be stored in /files/attachments instead of e.g. /html/forum/attachments. It means outside the forum root.
  5. xf_phantom

    xf_phantom Well-Known Member

    Brandon Sheley and Janmaat like this.
  6. Janmaat

    Janmaat Active Member

    Thank you very much. Wasn't able to find this between all the search results :whistle:

    But I was hoping there is maybe an option in Admin Control Panel for switching the storage place just by just a few clicks ;)
  7. xf_phantom

    xf_phantom Well-Known Member

    it's a few clicks edit:p

    close board
    move the attachments
    edit the config and add the line^^
    test the changes
    if it works => open the board

Share This Page