How to get the Mime Type of the file?
Ora_bieDec 8 2009 — edited Jan 28 2010Hi Everyone!,
I want to upload a random file into my table as a BLOB and simultaneously want to fill the respective another column with its MimeType. Earlier I used Oracle Apex for this, but due to my new requirement I need to make this happen with the help of PL SQL and Forms. Could you help me in getting how we can upload the file and most importantly, how we can get its Mime-Type.
My chosen file can be of any type; it can be doc ,pdf,txt,xls ,gif or any other format.
If you could provide the example with your reply then it would be great.
Thanks
Harbinder