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

XF Resource Manager

#1
Is it possible to upload files to an external server with XFRM?
For example I have my website on shared hosting, but I'm using a storage VPS to store the files.

Thanks
 

Chris D

XenForo developer
Staff member
#2
The Resource Manager uses the standard default XF attachment system. If you're already offloading attachments to a remote storage mount then this should happen for the Resource Manager automatically.

If you are not doing this already, then that's what you will need to implement to do what you want.

See this page for more info:
https://xenforo.com/help/config-php-options/

Specifically:
  • $config['internalDataPath'] - default: 'internal_data'
    File path to the internal_data/ directory. Relative paths start at the XenForo installation directory. This can be set outside the web root.
  • $config['externalDataPath'] - default: 'data'
    File path to the data/ directory. Relative paths start at the XenForo installation directory. This directory must be web accessible.
  • $config['externalDataUrl'] - default: 'data'
    URL to the data/ directory. Relative URLs start at the XenForo installation URL.