Discussion in 'Resource Manager Support' started by motowebmaster, Sep 27, 2015.
I'd like to set an alternative storage path, an FTP server or S3, if possible.
I believe there is an add-on related to using S3.
Otherwise, points 23 and 24 of the FAQ explain how to change the path: https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
I'm using this
My apologies, I should have been more specific.
I use those configs/addons now, to keep my attachments in an external directory and served through my CDN, but would prefer to set a specific place just for uploaded resources available for download by users.
The problem is that there currently isn't controls in place to deal with the size of specific files, such as ZIP and PDF. Users are sharing large PDFs of manuals or component diagrams. It would be easier if I disallowed ZIP/PDF in posts and allowed it in Resources (if that is possible).
For example users attached the user manual for a particular 2004 model motorcycle more than once, each copy being roughly 14mb in file size. I'd like to setup a simple Resource category for manuals and let them see if they still need to upload it.
The other problem is the size of these files, and would like to specify a place just for resource attachments. For example, an uploaded resource file is encrypted and put on a public S3 bucket. When a user downloads it comes from the S3 as it's intended filename. This wouldn't be completely secure, but it would keep these large files off of my primary server.
Hope this helps,
It's not possible to have a separate file path for resource attachments only.
Just FYI, but resource attachments are just part of the attachment system, which is content agnostic. That's why things that move attachments move them regardless of the system using them.
Ok. The problem is that I can handle optimizing images, but haven't come up with a way to optimize a PDF. So if someone uploads a large PDF, because I'm allowing large uploads of pictures (before they are sized down/optimized dramatically), for the most part I'm left hosting a file that isn't being reduced in size.
Maybe I'm approaching this the wrong way. Is there an addon or best-practice that I should be considering instead?
I'm not sure what you mean "optimize a PDF". I'm also not sure what you mean about large uploads of pictures in regards to resizing. The upload limits when it comes to images would relate to the post-resize value, so setting dimensions as you wish would probably be sufficient.
My comment was mostly just to emphasize that moving just the resource attachments wouldn't be possible (and likely won't be in the future) because the attachment data is identical to an attachment to a post, for example. You could not allow resource uploads though if you prefer (having the users provide the download URL manually).
Separate names with a comma.