Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3228

PI 7.3: routing .jpg files using SFTP Adapter module

$
0
0

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

(http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/12/03/sftp-using-custom-adapter-module-part2--sender).

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


Viewing all articles
Browse latest Browse all 3228

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>