4 Replies Latest reply on Oct 10, 2013 8:56 AM by BalddogRobin

    Mime Type

    BalddogRobin Level 1

      I'm having trouble pinpointing if anything changed with the cffile upload mime type in CF10.  It was working fine in 9, but I'm getting the following error when uploading a jpg file type in CF10.

       

      The MIME type or the Extension of the uploaded file image/jpeg was not accepted by the server.
      Error detail - Only files of type image/* can be uploaded.

       

       

      <cffile

                  action="upload"

                  filefield="Picture"

                  destination="\\#expandpath('/')#CompanyPictures\"

                  nameconflict="overwrite"

                  accept="image/*">