Binary files in a Db Record

cesaroll

Member
Hi Everyone!

Is it possible to upload a binary file in a Progress DB Record? (ex .zip)

What Data Type do I need too use?

How can I accomplish that?

Thanks a lot in advance!!!:awink:
 
Originally posted by cesaroll
Hi Everyone!

Is it possible to upload a binary file in a Progress DB Record? (ex .zip)

What Data Type do I need too use?

How can I accomplish that?

Thanks a lot in advance!!!:awink:

I'll take the "anything is possible" but the effort is great. You want to use the "raw" record which is a binary rep. The issue is that it only holds either 16k or 32k (I can't remember) so you will have to split the file and keep track of it in code. Ie multiple raw fields will be needed for larger files.

Murray
 
Its 32K per RECORD.

Raw is a datatype available for a field, so you define your table as having some key fields (so that you can re-retrieve the data!) and the RAW field to store the binary data.
 
Back
Top