Subject | RE: [IBO] Store an Restore a file from a BLOB field |
---|---|
Author | Jason Wharton |
Post date | 2005-01-18T20:56:44Z |
No utility required. Just use the Assign() and AssignTo() methods of the
fields and make use of either TFileStream or TMemoryStream as needed. This
is more of a Delphi question really.
Jason Wharton
fields and make use of either TFileStream or TMemoryStream as needed. This
is more of a Delphi question really.
Jason Wharton
> -----Original Message-----
> From: skander_sp [mailto:skander@...]
> Sent: Tuesday, January 18, 2005 11:05 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Store an Restore a file from a BLOB field
>
> Hello to all!
>
> May be this is not a new question here, but yes a new matter to me.
>
> I need to store some files INSIDE a firebird database (in a
> BLOB file).
> I think is the best way, due to a GREAT numer of not much big files I
> need. Now I store they in a diretory, but a diretory with dozens of
> thousands files is dangerous, slow and prefer to get a new way.
>
> Some idea to stream the file to a BLOB field and restore them?
>
> Some utility already designed for IBO?
> Tks for anyone revelation.
>
> Alejandro