We can Retain Original Filename While Transferring Files Between Two SFTP Servers in SAP CPI
What else we can do:
Receives a file from SFTP Server 1
Extracts the original filename
Transfers the file to SFTP Server 2 while retaining the original filename
What will we doing:
We will explore how to efficiently manage and route files in SAP CPI based on their file type. We’ll demonstrate how to:
Setup an SFTP free server – This is required to establish an external file storage system. (step – 1)Use FileZilla to connect to the SFTP server, create directories, and upload files – FileZilla is used as a client tool to manage files within the SFTP server. (step – 1)Capture file name and extension dynamically – Extracting file metadata is necessary for conditional processing. (step – 2)Route files based on their extension using a Router – This enables automated decision-making in file handling. (step – 3)Setup Gmail for email notifications – Emails are sent for missing XML files or unexpected file types. (step – 4)Send an alert email when an XML file is missing with proper details of the captured file – Ensures monitoring and error handling. (step – 5)
Here i have used sftp with poll enrich you can use from start message as well
We can Retain Original Filename While Transferring Files Between Two SFTP Servers in SAP CPIWhat else we can do:Receives a file from SFTP Server 1Extracts the original filenameTransfers the file to SFTP Server 2 while retaining the original filenameWhat will we doing:We will explore how to efficiently manage and route files in SAP CPI based on their file type. We’ll demonstrate how to:Setup an SFTP free server – This is required to establish an external file storage system. (step – 1)Use FileZilla to connect to the SFTP server, create directories, and upload files – FileZilla is used as a client tool to manage files within the SFTP server. (step – 1)Capture file name and extension dynamically – Extracting file metadata is necessary for conditional processing. (step – 2)Route files based on their extension using a Router – This enables automated decision-making in file handling. (step – 3)Setup Gmail for email notifications – Emails are sent for missing XML files or unexpected file types. (step – 4)Send an alert email when an XML file is missing with proper details of the captured file – Ensures monitoring and error handling. (step – 5)Here i have used sftp with poll enrich you can use from start message as well Read More Technology Blogs by Members articles
#SAP
#SAPTechnologyblog