I know how to insert a BLOB into a database but now I wish to do the opposite. How do I save a BLOB stored in a database to a new file on disk?
I have the following data fields for the BLOB stored in my database:
Filename
FileSize
Contenttype
BinaryData
How do i use the above data to write a file on disk?