Am 26.04.2006 um 14:45 schrieb Jeff Edwards:
If I need to store a file from the disk into a database blob, how do I do it?
Before Marco or Will will come by a first hint : A folderitem is a reference to the file but doesn't contain the content of this file. The blobcolumn of a databaserecord expects a string (and not a folderitem), in your case a string with the content of your file. So you have to read all the content probably in a memoryblock and then store the stringvalue in the blobcolumn. And I guess there is lot to think about when storing a file (restoring creation/mod. date, type ,creatot etc)
Hans-Georg _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
