Re: How to determine file's mimetype ?

From: joel garry <>
Date: Tue, 27 Sep 2011 09:30:16 -0700 (PDT)
Message-ID: <>

On Sep 27, 5:07 am, Maikku <> wrote:
> Hi,
> I'm uploading files from Linux to Oracle database with
> DBMS_LOB.LoadFromFile. How can I get the mimetype of the file ?
> Thanks !
> Maija-Leena

You might want to use the OS file command before loading, or are they coming from email (where you can get it from the headers) or an OS where the file extension says?

This looks kind of interesting:

Some googling shows there might be java class answers, too.


-- is bogus.
Received on Tue Sep 27 2011 - 11:30:16 CDT

Original text of this message