File Attachments

Documentation - Configuration

File attachments in Huru Helpdesk are configured on the File Attachments tab of the General Configuration screen.  Attached files can be stored either in the MySQL database, or in the file system of the web server.  Each method has advantages and disadvantages.

There are several basic options that apply to all file attachments, and one that only applies when attachments are stored in the file system.

Permissions and Settings

Note that the file upload feature can be affected by the settings in the php.ini file.  See File Upload vs. php.ini for further information.

GC_FileAttachments

Allow File Attachments to Cases - sets what level of user has the authority to attach files to case notes.  Set to 'Disable' to disable this feature.

Attachment storage - configures how to store attachments, in the database or in the file system. 

Note: there are advantages a disadvantages to both storage methods.  Please see the File Attachment Storage Methods FAQ for more information.

Attachment storage path - the absolute path to the root of the attachment storage location when using file system storage.  This location must exist and be writable by the system.  For security reasons, it is recommended that it exist outside the normal Apache directory structure - this will help avert direct access to attachments by outside users.

Note: the path you enter will have the trailing '/' added automatically if you do not enter it yourself. 

Allowed Attachment Extensions - a comma separated list of allowed file extensions.  Each extension must be preceded by a period.  Example: .jpg,.png,.txt

Maximum Attachment Size - the maximum size, in bytes, of an attachment file.  The Huru Helpdesk maximum is 16,777,215 bytes (MySQL MBLOB datatype).  PHP may be configured for more or less on the server based upon the settings in the php.ini file. See File Upload vs. php.ini for further information.

Allow attachment download - sets what level of user has the authority to download attachments made to case notes.

Auto-purge old attachments after - sets the number of days after which attachments will be automatically purged from the system.  Attachment age is defined strictly by the date of upload, not the date the case was opened or most recently updated.  Set this value to 0 to disable auto-purging of attachments.