Page 1 of 1

Hesk or Server Attachment Compression?

Posted: Sun Apr 03, 2022 2:41 pm
by Lisaweb
What terms did you try when SEARCHING for a solution: Attachment Compression

Write your message below:

My server has limited disk space. Any php gurus here who know how to get Hesk to compress attachments upon upload? Or is there a way to get my server to perform this action? Any advice appreciated!

Re: Hesk or Server Attachment Compression?

Posted: Wed Apr 06, 2022 11:07 am
by Klemen
There's no way in Hesk to do that.

You could potentially use a back-end script to compress files, but the script would also need to update the hesk_attachments table with the new information. I don't have any such scripts readily available though.

An alternative would also be to manually delete old attachments from the attachments folder.

Re: Hesk or Server Attachment Compression?

Posted: Wed Apr 06, 2022 8:54 pm
by Lisaweb
Ok thanks Klemen. I think I will reduce the allowed attachment size and request they compress attachments before uploading.