Re: [gnome-db] BLOB - How to download/upload a file



On Mon, 2004-03-22 at 13:14 +0100, Vivien wrote:

> > On Fri, 2004-03-19 at 13:05 -0600, DANIEL ESPINOSA wrote:
> >
> 
> >>
> >> wath to do: open a file read byte by byte and write
> >> each one to the GdaBlob?
> >>
> > yes, although it would be better if you write data in bigger chunks than
> > 1 byte :-)
> >
> >> And if I want to save to a disk I need open (create) a
> >> file and write byte by byte to the file?
> >>
> > the same, use gda_blob_read to read data from the blob (in chunks) and
> > then write that to a file.
> 
> Rodrigo, you proposed to create a specific GdaValueType for pictures as
> blobs are often used to store pictures. Do you still plan to create it, or
> has the idea been dismissed?
> 
no, it hasn't been dismissed, just I have had no time to implement it.

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]