Forum Post: RE: How to send photos from mobile app back to Progress database?

  • Thread starter Thread starter jackiep
  • Start date Start date
Status
Not open for further replies.
J

jackiep

Guest
The LONGCHAR sent from the app is BASE64 except for the start of the string which seems to be used by HTML browsers to tell them that it's a base64 encloded image. Output the LONGCHAR to a text file using COPY-LOB, COPY-LOB it back into a LONGCHAR, stripping out the initial junk then BASE64-DECODE it into a memptr. This can either then be displayed in a program or COPY-LOB into the database to store as a blob.

Continue reading...
 
Status
Not open for further replies.
Back
Top