Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

add mime type to Coldfusion 10 server

Guest
Jun 13, 2017 Jun 13, 2017

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.

2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Jun 21, 2017 Jun 21, 2017

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.

Translate
Advocate ,
Jun 14, 2017 Jun 14, 2017

See my answer in this thread:

https://forums.adobe.com/thread/2277792

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 21, 2017 Jun 21, 2017
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources