Skip to Content

Get files in SFTP and sent Back as a attachment to Source system(Fiori) using rest adapter

Hi,

I am working on PI7.4 Version dual stack and having Requirement on REST sync scenario.

REST <----> PI<------->SFTP

Explanation: My source system is Fiori and Receiver is SFTP server. Here, SFTP server there are some Files(any format i.e.,.txt,.pdf etc.,). My query is, I want to pick those Files from SFTP server and it send back to source system(Fiori) in response as a atachment there is no transformation involved in this interface as simple as requirement is to fetch files from sftp and sent back to fiori as attachment for this i have designed API but not sure about how to get attahment using rest adapter.

Please suggest best way to ahieve this

Regards,

Ramana Reddy.

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.