File Upload Field to accepting "all files," specifically .stp

By: Renan DeBarros | Asked: 08/02/2023
ForumsCategory: General questionsFile Upload Field to accepting "all files," specifically .stp
Renan DeBarros asked 9 months ago
File Upload Field > Allowed file types >  Allow all file types However, it does not accept ".stp" files which are required for my clients, who are engineers and need cad drawings in order to provide a quote to their clients. It has worked before, but now it no longer accepts this type of file. Receiving "File Upload is invalid" error message. File is only 1.3 MB in size. Can you please help?
Attachments
2 Answers
Walter JonesWalter Jones answered 9 months ago
You will need to use something like this to add the file type: https://wordpress.org/plugins/wp-add-mime-types/#:~:text=Usage,list%20at%20the%20red%20color. and then your form should allow the upload.  That's not a native file format for the web.
Renan DeBarros replied 9 months ago

Still getting the same error after installing plugin recommended.

Walter JonesWalter Jones replied 9 months ago

Did you add the file type in that plugin?

Renan DeBarros replied 9 months ago

Just did, and it works perfectly 🙂 Thank you!

Victor Font answered 9 months ago
You can do this with Formidable and a little custom code. See this: https://formidableforms.com/knowledgebase/file-upload/#kb-unsupported-file-type

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right