In SFTP server folder, files will be dropped with same original name by enabling ‘Adapter Specific Message-Attributes‘ and using %FileName% in ‘FileName’ input field
Filepath always start with symbol “~”, follow by the path.
Advanced tab:
Tick Use ASMA and Filename. Put namespace “http://sap.com/xi/XI/System/File” and Filename sttribute name “FileName”. This have the flexibility to put any namespace and attributes.
https://blogs.sap.com/2017/11/03/sap-pi-sftp-server-authentication/?utm_source=dlvr.it&utm_medium=facebook