Skip to Content

ECC proxy to HCI: decode Base 64 encoded images in HCI

Dec 19, 2017 at 08:37 AM


avatar image

Hi Experts

I have a requirement where i will be getting below fields from the ECC proxy

Header 1..1
Invoices 1..Unbounded
Images 1..Unbounded productimage

I have to create a txt or csv file from invoices fields and productimage(1...Unbounded) are Base64 encoded images that i need to decode in binary and then save both file and images in an SFTP folder.

What should be the approach for this...mapping level UDF for Base 64 decoding or base 64 decoder i can use from HCI pallate



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sriprasad Shivaram Bhat
Dec 19, 2017 at 09:05 AM

Hello Naina,

Below should work.

Have parallel multicast branch and in the first create invoice field data ( CSV or txt) with all the necessary transformation.

In the second branch have a mapping to extract only productimage field and create one record per productimage and then use a splitter followed by decoder before sending one by one image to SFTP server.


Sriprasad Shivaram Bhat

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks Sriprasad

I have a doubt whether this base64 decoder will convert to binary or text


Hello Naina,

If you are getting Base64 encoded data of Image1.png from source then it will create Image1.png photo in your SFTP folder.


Sriprasad Shivaram Bhat