XF 2.2 Attachments system - locating a specific file

Ludachris

Well-known member
I'm trying to troubleshoot some broken attachments in one of my forums. Can someone explain how to locate the actual file to see if it exists on the server? I found the file name in the xf_attachment_data table but I don't know how to locate the file itself in the file system.
 
Take the floor of data_id divided by 1000, this is the directory in internal_data/attachments that contains the file.

The filename is <data_id>-<file_hash>.data.
 
Back
Top Bottom