• Resolved sdubnoff

    (@sdubnoff)


    The product I am supporting is a statistical file transfer utility and users have a need to upload many different types of files with many oddball extensions. There does not seem to be a way to simply allow any type of file or to have an exclude list (e.g. exe, bat and so on). It would seem to me the latter would be most sensible, but I can live with no exclusions at all. Is there any way to accomplish this?

    Many thanks

Viewing 1 replies (of 1 total)
  • Plugin Author pipdig

    (@pipdig)

    Hi @sdubnoff,

    It is not possible to list excluded file extensions, unfortunately. However you can list allowed. Will that be suitable? This is possible by adding the ‘attachments_allowed’ setting to the shortcode. For example:

    [zendesk_request_form attachments_allowed='.jpg,.jpeg,.png,.gif,.pdf,.txt,.csv,.xls,.xlsx,.doc,.docx']

    Are you expecting a lot of different file types where this would become unmanageable? If so, we can look at adding a filter to override this and allow all file types.

Viewing 1 replies (of 1 total)
  • The topic ‘Upload File Type Restrictions’ is closed to new replies.