Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File upload mime types

Status
Not open for further replies.

Toe

Programmer
Oct 26, 2001
71
GB
hi,

i have a web page (generated from oracles application server) with a 'file' input box (ie. tag of '<input type="file">')

The DAD is set up to put this in a table and call the procedure to process it.

All this worked merrily until we started getting the latest office documents , of type docx.

It is now seeing these as having a mime type of 'application/octet-stream' which we deliberatly filtering out.

If there any way/configuration changes that i can do to make it recognise these as a document?

I tried changing the mime.types file in apache to include :
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx

but that doesn't seem to have worked.

obviously i could make the procedure called after the upload 'fudge' docx to being of type document, but if possible i would rather the appserver recognised correctly.

thanks,

andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top