Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Delhi, India
    Posts
    16

    Unanswered: Determing the type of file on retrieving from BLOB

    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...

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1

    Re: Determing the type of file on retrieving from BLOB

    Originally posted by deep_ar78
    I guess every file has some header that recognizes the type of file
    Your guess is incorrect. You will need to save this information yourself when you create the record to be able to retrieve it later.
    ---
    "It does not work" is not a valid problem statement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •