I have a cffile upload which accepts only rtf files. The code on the action form is: <cffile action="upload" filefield="Form.file_upload" destination="D:\inetpub\wwwroot\etc..." accept="application/rtf"> When I attach an rtf file I get the message: The MIME type of the uploaded file "application/octet-stream" was not accepted by the server.
Only files of type "application/rtf" can be uploaded. Verify that you are uploading a file of the appropriate type. The code on the uplolad form itself is: <head><title>ICTMT-7 Upload File Form</title> <InvalidTag http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ....... <cfform action="uploadaction.cfm" method="post" enctype="multipart/form-data"> Can someone explain what application/octet-stream is and why it appears in the error message when it is not included in the accept definitions? Would be enormously grateful, as ever. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:729 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
