Skip to Content
0
Jul 28, 2016 at 10:46 AM

Whether standard SFTP Chunk and SAP PGP encryption work together?

238 Views

Hi All,

We are having a requirement wherein PI 7.31 has to pick some files from SAP application server, do PGP encryption and send it to 3rd party.

This is a flat file to flat file scenario and we have not used any design(ESR) objects and built an interface using ICO.

However, few of the source files are larger in size (max. size can be around 1GB to 2GB).

Hence we have made use of the Large File Handling(Chunk Files) in sender SFTP adapter to read the source file in chunks(5MB),however when we do standard SAP PGP encryption over standard SFTP receiver channel, the chunks are individually getting encrypted into temporary chunk file until the last chunk.

There are multiple BEGIN PGP/END PGP statements inside the same target file.

Hence 3rd party is not able to decrypt the file due to multiple chunks of encrypted data inside one file.

Files less than 5MB which doesn't go into chunking works fine and 3rd party is able to decrypt successfully.

Will Chunk and Encryption work together?

Has anyone implemented such scenario successfully?

Appreciate your response.

Regards,

Zameer Farook