cancel
Showing results for 
Search instead for 
Did you mean: 

Error - Sender FTP with FCC and PGP

former_member185846
Active Participant
0 Kudos

Dear Experts,

I need to read a PGP encrypted CSV file from FTP server and decrypt it in SAP PI Sender File Adapter... But, this is failing with the error 'File isn't a valid PGP message'.. When I see the NWA log, I noticed the FCC happens before decryption.. Is that the issue? Do I need to use any bean for FCC so that PGP decryption happens before FCC??

Please clarify..

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi,

There is an adapter module you could use instead of FCC: MessageTransformBean. See the documentation here:

http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm

In fact, this bean is very similar in use to FCC.

Remember to put it after PGP descryption in the module chain.

Regards,

Greg

former_member185846
Active Participant
0 Kudos

Thanks for the details, Greg..I thought this is required only for SFTP and not PGP with FTP  While I'm trying to confirm whether the issue is due to FCC, by encrypting and writing the file as a xml file with the receiver adapter, I'm getting the error "Error reading private keyring '/usr/sap/SYS/global/pgpkey'  (folder where the keys are residing)... not sure if its due to authorization??

former_member185846
Active Participant
0 Kudos

Thanks, Greg. Transform bean worked.

Answers (0)