August 20, 2008
For ColdFusion hosting try HostMySite.com. |
Home /
Groups /
ColdFusion Talk (CF-Talk)
cffile ZIP mime type problem
I created an empty text file, zipped it with Windows XP's compressionJason Durham 04/15/08 09:41 A After doing some googling, it appears that Firefox handles MIME typesJason Durham 04/15/08 11:01 A 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. 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.
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||