2 Replies Latest reply on May 25, 2017 1:51 PM by junglefish

    cffile, accept, .docx misreporting as .zip

    junglefish Level 1

      Using CF11, MacOS.

       

      I have a file upload which accepts doc, docx, pdf. Doc and pdf behave as expected. However, whenever I try to upload a docx I receive the following error: "The MIME type or the Extension of the uploaded file application/zip was not accepted by the server".

       

      I saw that there was a similar bug that was meant to be fixed in CF11, see this thread: Tracker

       

      My cffile tag looks like this:

       

      <cffile action = "uploadAll"

        fileField = "arguments.stuData.addDocuments"

        destination = "#dirTemp#"

        nameConflict = "MakeUnique"

        result="arrResult"

        accept = "application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordproc essingml.document,application/x-tika-msoffice"

      />

       

      Can anyone help?