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

MIME types

LEGEND ,
Aug 06, 2006 Aug 06, 2006

Copy link to clipboard

Copied

I am using cffile to upload various files formats, but I need to know the
MIME types for the following:

SWF
MOV
AVI
MPEG / MPG
WAV
MP3

Does anyone know these or a link to a comprehensive list to help?

Thanks!

--
Wally Kolcz
Developer / Support


TOPICS
Advanced techniques

Views

320

Translate

Translate

Report

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
LEGEND ,
Aug 06, 2006 Aug 06, 2006

Copy link to clipboard

Copied

I guess the better question to ask is what 'accepts' values in the cffile do
I need for the following list?

SWF
MOV
AVI
MPEG / MPG
WAV
MP3

Thanks!

Wally Kolcz
Developer / Support


Votes

Translate

Translate

Report

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
LEGEND ,
Aug 06, 2006 Aug 06, 2006

Copy link to clipboard

Copied

LATEST
I came up with this list of MIME types, but my question is:
If I only want the user to be able to upload certain files based on the
extension, do I use the mine type or the actual extension. And if the
extension, how do I write it?

SWF - application/x-shockwave-flash
MOV - video/quicktime
AVI - video/x-msvideo
MPEG / MPG - video/mpeg
WAV - audio/x-wav"
MP3 - audio/mpeg

Thanks!

Wally Kolcz
Developer / Support


Votes

Translate

Translate

Report

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
Documentation