advancedforms / advanced-forms

WordPress plugin to create forms using Advanced Custom Fields
75 stars 14 forks source link

Option to zip up file attachments? #88

Open geeworthington opened 3 years ago

geeworthington commented 3 years ago

Is it possible to zip up files or individual files on submission to be uploaded to the media library?

I am current working on a few sites where the customer requires the ability to upload .dxf files (3d drawing files).

These are considered harmful and will not be accepted as an upload (even when allowing the file types in various ways functions.php etc)

fabianlindfors commented 3 years ago

Good question. I'm not sure if this is possible in any reasonable way, unfortunately. Largely because my plugin doesn't actually handle any uploads. That's left to ACF which to some degree leaves it to WordPress.

I think your best approach would be to find a way of having WordPress allow .dxf files. Are you certain that it's not possible to enable? My understanding is that it should be possible to enable any file type for uploads. What kind of error are you seeing?