Jump to content

Where are attachments stored


mustardman

Recommended Posts

I am trying to open an attachment from an older ticket.  It won't open.  Just says file now found.  I also tried logging in as client.  Newer tickets don't seem to have a problem.  So maybe it's because of the ticket age for some reason. I really need to get that attachment. 

If I can find it directly in the DB maybe I can download it and open it from there.  But I can't find where attachments are stored.

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Hello,

Thank you for your post!

Attachments are stored in the '/attachments' directory, located inside your WHMCS directory, unless you have moved it, in which case you can review your 'configuration.php' file to see where they are stored, look for the following entry:

$attachments_dir = "/home/username/attachments/";

It appears you may have deleted the attachment in question though, perhaps using the System Utilities function? https://docs.whmcs.com/System_Utilities#Prune_Old_Attachments

I hope this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated