Hunter CodyChat Store Αγορά CodyChat
Γνωσιακή βάση

CodyChat File Uploads | Limits, Types and Storage

Configure CodyChat uploads safely: allowed file types, size limits, storage growth, image handling, and protecting the upload folder from abuse.

Uploads turn a text room into a real community, and they also become the largest and riskiest part of your storage. A few settings keep it useful without turning your host into a file dump.

Set limits that match your hosting

Match the PHP upload limit to what the chat allows, and keep both modest at first. A 20 MB limit on shared hosting will fail before the chat ever sees the file.

Allow images, not everything

Restrict uploads to common image formats unless you have a specific reason to accept documents. Executable and archive files are a security risk and rarely needed in chat.

Store and serve efficiently

Keep uploads outside executable paths where possible, resize large images, and serve them with long cache headers. A CDN helps once members start sharing screenshots regularly.

Plan for growth

Check the upload folder size monthly. Old attachments can be archived or pruned according to a published retention policy, which is easier to defend than silent deletion.

Frequently asked questions

Why do uploads fail at 2 MB?
That is usually the PHP or web server limit, not the chat setting. Raise both and restart the web server.

Can I stop guests uploading?
Yes, and you usually should. Uploads from accounts are easier to moderate and trace.

Are uploads included in backups?
Only if you back up the uploads folder. Database backups alone will not restore images.