You cannot directly access files in the files folder for a variety of reasons. You need to access them through the file.php script
e.g.
123456 would be the file ID and is not associated with the stored file name. You can get the URL by right clicking the image in post or in the adrss bar if you are viewing full sized. The only identifier on the actual file is the prefix which is the user ID, in the example you provided it's user ID 2 which would be you.
This system provides access control and is also used for many security reasons. e.g. Only the sender and recipient can access a file in PM. Same thing with forums, if the user does not have access to a forum the file is posted in they can't download it.
e.g.
https://example.com/dowloads/file.php?id=123456
123456 would be the file ID and is not associated with the stored file name. You can get the URL by right clicking the image in post or in the adrss bar if you are viewing full sized. The only identifier on the actual file is the prefix which is the user ID, in the example you provided it's user ID 2 which would be you.
This system provides access control and is also used for many security reasons. e.g. Only the sender and recipient can access a file in PM. Same thing with forums, if the user does not have access to a forum the file is posted in they can't download it.
Statistics: Posted by thecoalman — Sat Nov 09, 2024 4:49 am