Title:
Bug 81254:Using <cffileupload>, I upload to a <cffile action="upload"> with accept set to "application/excel,application/vnd
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Rob Kolosky / Rob Kolosky (rkolosky)
Created: 12/18/2009
Components: File Management, VFS-S3
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,251028 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Duplicate ID: CF-3040567
Problem:
Using <cffileupload>, I upload to a <cffile action="upload"> with accept set to "application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel"Uploading an Excel document, gives the error that application/octet-stream is not allowable.
Method:
upload.cfm:<cffileupload url="uploadFile.cfm" progressbar="true" name="Upload" addButtonLabel="Add File" clearBUttonLabel="Clear Files" hideUploadButton="false" width="600" height="300" title="Future Work Upload" maxUploadSize="100" extensionFilter="*.xls,*.xlsx" bgcolor="##FFFFFF" uploadButtonLabel="Upload Files" wmode="transparent" />uploadFiles.cfm<cffile action="upload" accept="application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel" destination="#getTempDirectory()#" nameconflict="makeunique">
Result:
The MIME type of the uploaded file application/octet-stream was not accepted by the server.<br>Only files of type application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel can be uploaded. <br>Verify that you are uploading a file of the appropriate type.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040654
External Customer Info:
External Company:
External Customer Name: Rob Kolosky
External Customer Email: 0D63608F448DC27599201549
External Test Config: 12/18/2009
Attachments:
Comments: