Subject Re: [IBO] Working with VERY large blobs
Author Jason Wharton
You have full source to IBO so you can see in there how to do the routines.
Take a look in the IB_Session.pas units as well as the IBA_ColumnBlob.imp
file. IBO handles quite a bit of the details for you and you can even hook
into BlobCallbacks so that you can monitor the progress of transferring
blobs.

The one thing IBO doesn't accomodate easily yet is how to stream a BLOB
automatically without having to have it all in virtual memory at once.

It is possible to simply plug in your new BLOB ID when doing an insert. Have
a look at the code where I do it and if you cannot figure it out I'll see
what I can do more to help.

HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Mustea Emil" <emus@...>
To: <IBObjects@egroups.com>
Sent: Tuesday, January 23, 2001 1:25 PM
Subject: [IBO] Working with VERY large blobs


> Hi,
>
> I want to put some files into blobs(each file in it's own blob field),
> and then read them back. The files can be small or mostly large. How can I
> do that with IBO without large memory consumption and I want to be able to
> display a progress bar?(I want to write chunks of data).
> If it's not possible with IBO, can anyone help me with few lines of
code
> in Interbase API? .. by the way how do I insert the BLOB_ID returned by
the
> IB API into INSERT statement executed by the TIB_DSQL?
>
> Please help me. I need this disperately.
>
> Regards,
> Mustea Emil
>
>
>
>