Mime Types for document uploads
ATDJun 15 2006 — edited Aug 12 2006Hi,
I have been following through the tutorials for Application Express and am at the part where it explains how to upload/download files.
Most of my test files upload/download without any problem. However, Word XP documents won't open properly when downloaded (I'm asked to specify the format to "convert" from). Looking at the HTMLDB_APPLICATION_FILES view, the record shows that the file has been uploaded with a mime type of "application/octet-stream" rather than "application/msword".
Is this the correct mime-type? If not, how do I ensure that the correct type is set when uploading a file? If it is correct, does anyone know why Word XP documents won't open correctly?
Thanks
Andy