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



Ok I want to have a database (specificaly postgresql),
but any, to save files and retribe those.

I can create a blob with:

gda_connnection_create_blob and have a GdaBlob object,


Next I need a file:

wath to do: open a file read byte by byte and write
each one to the GdaBlob?

And if I want to save to a disk I need open (create) a
file and write byte by byte to the file?

or any sugestion?

=====
>>>>>>>>>>>>>>>
Trabajar es la mejor arma para tu superación.

_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx



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