ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Restricting types of files in upload using SafeCracker

November 14, 2011 2:12pm

Subscribe [1]
  • #1 / Nov 14, 2011 2:12pm

    EnergyFreak

    102 posts

    Hi,

    I would like to restrict the file types uploaded using the safecracker file field. Can this be done? The default is either “images” or “all” file types. Also for some reason, when a user group other than super admins try to upload a file, they get this error.

    {"success":0,"errors":[],"field_errors":{"file_upload":"File Upload - The file could not be written to disk."},“entry_id”:false,“url_title”:false,“channel_id”:false}

    Thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases