Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to zip up file attachments? #88

Open
geeworthington opened this issue Nov 12, 2020 · 1 comment
Open

Option to zip up file attachments? #88

geeworthington opened this issue Nov 12, 2020 · 1 comment

Comments

@geeworthington
Copy link

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
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants