I am experiencing difficulties when retrieving files from an oracle blob field. I am using the savetofile and loadfromfile methods. It seems that uploading the file works, but when I try to open a retrieved file, say xls, then I get different error messages, for instance, file cannot be accessed or document name is invalid.
It works correct for small (2k) jpg files, but even 100k xls or word files does not want to open. When downloaded, the file shows the correct size.