Re: [gnome-db] BLOB - How to download/upload a file
- From: "Vivien" <malerba gnome-db org>
- To: "Rodrigo Moya" <rodrigo gnome-db org>
- Cc: "DANIEL ESPINOSA" <esodan yahoo com mx>, "gnome-db" <gnome-db-list gnome org>
- Subject: Re: [gnome-db] BLOB - How to download/upload a file
- Date: Mon, 22 Mar 2004 13:14:17 +0100 (CET)
> 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?
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]