• Resolved mondesv

    (@mondesv)


    I have configured additional necessary file formats, including dwg, 3ds…
    When trying to add files .eps or .dwg in forms, the following error occurs:

    “Uploaded file is not allowed for file type”

    With standard files there is no problem .jpg, .docx etc.

    [mfile upload-file limit:12000000 filetypes: jpg | jpeg | png | gif | pdf | doc | docx | ppt | pptx | odt | avi | ogg | mp4 | mpg | dwg | smp | dxf | dwf | igs | 3ds | dae | ipt | obj | skp | fbx | lwo | off | ply | stl | amf | x3d | eps | cdr | ai max-file:50 class:form-button-upload]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mondesv

    (@mondesv)

    – I have also tried to add code

    —————–in dnd-upload-cf7.php ————-
    $mime_types[‘eps’] = ‘application/postscript’;
    $mime_types[‘dwg’] = ‘application/x-dwg’;

    —————-in functions.php——————
    function my_myme_types( $mime_types ) {
    $mime_types[‘dwg’] = ‘application/x-dwg’;
    $mime_types[‘eps’] = ‘application/postscript’;

    return $mime_types;
    }
    add_filter( ‘upload_mimes’, ‘my_myme_types’);

    • This reply was modified 5 years, 8 months ago by mondesv.
    Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Hello @mondesv ,

    Can you send me the link of you site? Also please email me a sample file of eps, dwg through my email : [email protected]

    Regards,
    Glen

    I’m having the same issue with some files extensions I have in my form, specifically DWG and RVT

    How can I fix that ?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Additional necessary file formats problem’ is closed to new replies.