Different file upload location
Permalink
Hi people,
Client is complaining that the links to uploaded files are too long (with /files and all the numbered folders that follow) so I've created a new folder in root with 777 permissions and directed c5 to that folder in Dashboard > File Storage Locations > Alternate Storage Directory, but uploaded files aren't appearing there. Have I missed something? Thanks for any guidance.
Client is complaining that the links to uploaded files are too long (with /files and all the numbered folders that follow) so I've created a new folder in root with 777 permissions and directed c5 to that folder in Dashboard > File Storage Locations > Alternate Storage Directory, but uploaded files aren't appearing there. Have I missed something? Thanks for any guidance.
Thanks for your reply Mainio! So if I'm understanding correctly, you're saying it just isn't possible to have "www.mysite.com/myfile.pdf"?
No, not with the internal file manager in concrete5.
Well that's a letdown. Client is semi-proficient with FTP so they'll just use that instead. Thanks for the advice!
www. yoursite.com/index.php/download_file/view_inline/{FILE_ID}/
Where you replace the {FILE_ID} with the ID of that file.
To push any file in your file manager into the alternative storage location this is what you need to do:
- Go to the file manager (surprise, surprise)
- Click on the file you want to move to the alternative locaiton
- Click "Access & Permissions"
- On the second tab "Storage Locations", select the target location
- Click "Save Location"