I want to know the header/ or type of file when i get this field from Oracle BLOB as at run time I dont know which type of file I had uploaded to my BLOB field. I guess every file has some header that recognizes the type of file, now i want to get this information and accordingly set my content type to that. ie. like application/pdf.....or image/gif.......or html/text like that...please help me...