Dear experts,
I have a scenario where I connect to an SFTP server using a Sender File adapter (NFS) with a trigger file and an Adapter module
On the receiver side I have a File Receiver - standard FTP.
This works well for text files (XML, CSV, .txt,...).
I am using “Integrated Configuration” without mapping – so the files are just routed through the Java part without ABAP part.
Now the scope was extended and also picture files (.jpg) should be transferred:
Does anyone know how I have to adapt the Adapter module coding to transmit .jpg files?
There can be one ore more .jpg files in the picture folder I am polling. Do I have to send the .jpg files as Message attachments?
Can anyone do a little guidance here please?
I saw in the API (https://help.sap.com/javadocs/pi/pi711sp03/com/sap/aii/mapping/lookup/BinaryPayload.html) (- is that the correct one - we are on PI 7.3)
the “Payload” Object and the “Message” Object. I am not sure how the two relate to each other.
I would appreciate any hints on the Java Objects/Java coding. Thank you.
Best regards,
Peter