I have gotten a CF Error when trying to upload word documents, and also once with a 
.txt file.  I am using the following CFFILE:
  <cffile action="upload"
    filefield="FORM.UploadFile"
    destination="..."
    nameconflict="..."
    accept="application/msword,application/pdf,text/plain,text/html">

Some times it throws an error becuase the mime type is claimed to be 
'application/octet-stream', and is not part of my accepted types.

So:
- What the heck is octet-stream; just binary code?
- Could this be simply an issue of uploading too soon after CF or IIS has been 
restarted?
- Is there any possibility that this could be something on the client end?  I have 
been led to believe that the mime type is determined on the server side based on the 
extension only, and so the client machine can do nothing to screw this part up.


---------------------------------------

  Ben Morris

  Web Site Developer
  American Federation of Government Employees, AFL-CIO
  (202) 639-6448
  http://www.afge.org



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to