House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cffile ZIP mime type problem

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jason Durham
04/15/2008 09:41 AM

I created an empty text file, zipped it with Windows XP's compression utility and attempted to run it through a form which uses cffile.  I've also tried 3 other zip files from various sources (not sure of the compression utility used). As you can see from the error below, I specified application/zip and application/x-zip-compressed.  Is that correct?  Is that all I need? ______________________________________________________ The MIME type of the uploaded file application/unknown was not accepted by the server. Only files of type application/vnd.ms-excel,application/msword,application/pdf,application/ zip,application/x-zip-compressed can be uploaded. Verify that you are uploading a file of the appropriate type.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jason Durham
04/15/2008 11:01 AM

After doing some googling, it appears that Firefox handles MIME types differently than IE.  I don't like allowing application/unknown files to be uploaded.  Anybody have any work-arounds? I created an empty text file, zipped it with Windows XP's compression utility and attempted to run it through a form which uses cffile.  I've also tried 3 other zip files from various sources (not sure of the compression utility used). As you can see from the error below, I specified application/zip and application/x-zip-compressed.  Is that correct?  Is that all I need? ______________________________________________________ The MIME type of the uploaded file application/unknown was not accepted by the server. Only files of type application/vnd.ms-excel,application/msword,application/pdf,application/ zip,application/x-zip-compressed can be uploaded. Verify that you are uploading a file of the appropriate type.


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

September 21, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30         

Designer, Developer and mobile workflow conference