I use RM and would like to read attachment data with an AJAX script
My attachment data is here for example:
/internal_data/attachments/0/252-b798673db57fd915cd46d6c44c63d6ad.data
When I try to fetch this file with Ajax GET I receive an error message: 403 forbidden. I had a look at the file permissions: 644, so everybody should be able to read the file. What is my mistake? Do I have to use a kind of XF AJAX wrapper class?
My attachment data is here for example:
/internal_data/attachments/0/252-b798673db57fd915cd46d6c44c63d6ad.data
When I try to fetch this file with Ajax GET I receive an error message: 403 forbidden. I had a look at the file permissions: 644, so everybody should be able to read the file. What is my mistake? Do I have to use a kind of XF AJAX wrapper class?