Skip to main content
Inspiring
August 16, 2007
Answered

file upload validation

  • August 16, 2007
  • 1 reply
  • 437 views
I am checking the MIME types for upload file that I only accept for and they are working accept for ppt file. I don't see the ppt file available from <input type="file" accept="" either. Is any has any experience on this?

<cfset request.AcceptImage= "image/gif,image/jpg,image/jpeg,image/pjpeg,image/x-png,application/pdf,application/ppt">

<cffile action="Upload" filefield="file_only" destination="#products_files#\" nameconflict="OVERWRITE" accept="#request.AcceptImage#">

Thanks

This topic has been closed for replies.
Correct answer Newsgroup_User
look under MIME TYPES on this page: http://filext.com/file-extension/PPT

it could be any of those, depending on the user's browser/os combination...

--

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

1 reply

Newsgroup_UserCorrect answer
Inspiring
August 16, 2007
look under MIME TYPES on this page: http://filext.com/file-extension/PPT

it could be any of those, depending on the user's browser/os combination...

--

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
kt03Author
Inspiring
August 16, 2007
Azadi ,

it's vnd.ms-powerpoint. Thanks alot.