Copy link to clipboard
Copied
I understand how to upload JPG files and Audio files using CFFILE. But no success uploading a video MP4 file. The Coldfusion server is rejecting that mime. In Coldfusion 10, am I to use CF Admin to add an acceptable mime type for upload to the server? Or is there an external file list of mime types CF server points to. How exactly is a new mime type added? I want to upload .MP4 videos using CFFILE. Right now ACCEPT="video/mp4" does not work. Thanks.
I found the correct answer for my problem. My IIS server already had the mime .mp4. For my issue, I needed to set the CFFILE tag to STRICT="false" to allow mime type video/mp4 to upload. Otherwise, the server rejected the video upload. Coldfusion 10 has a default of STRICT="true". I did not have the same issue with image/jpeg or audio/mpeg. Only video/mp4 caused me problems.
Copy link to clipboard
Copied
See my answer in this thread:
Copy link to clipboard
Copied
I found the correct answer for my problem. My IIS server already had the mime .mp4. For my issue, I needed to set the CFFILE tag to STRICT="false" to allow mime type video/mp4 to upload. Otherwise, the server rejected the video upload. Coldfusion 10 has a default of STRICT="true". I did not have the same issue with image/jpeg or audio/mpeg. Only video/mp4 caused me problems.