Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use PI to ftp a file from source to destination with the same name

Hi, all.

I need to create an interface to transfer a text file. The file is located in a source directory in a known pattern. PI will parse the file and do very minor manipulation. Then we need to keep the exact same file name when we SFTP to the destination server. How can I do that in PI?

The requirement sounds simple but I cannot think of an easy way to achieve it in PI. Is there a way to pass the file name from the sender file adapter to the receiver sftp adapter? Actually using unix shell could have been a very easy task.



Former Member
Former Member replied


Use Dynamic configuration with ASMA (Adapter Specific Message Attributes), check the File Name.

Refer below links.

SAP SFTP Adapter: A Quick Walkthrough

Thanks & Regards,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question