Hi Richard,
Thank you for taking a look and your response. This issue got fixed.
The solution - The end customer was using sFTP software server does not supports the latest RFC standards, Key Exchange Algorithms, Ciphers, and Macs as per expectation of IBM SFTP Client Adapter 2.0. We found this incompatibility in the perimeter logs and switched to old SFTP Client Adapter and that made it work. It seems this Adapter will be decommissioned soon, hence in discussion with customer to upgrade.
------------------------------
Jaybharat Vishwakarma
------------------------------
Original Message:
Sent: Tue October 10, 2023 05:17 AM
From: RICHARD CROSS
Subject: SFTP Put Service failing with error "No Such file"
Can you share your ProcessData and Message To Service for the PUT step (take out anything sensitive)? What do you see in sftpclient.log (maybe put it in debug mode)?
------------------------------
RICHARD CROSS
Original Message:
Sent: Mon October 09, 2023 12:34 AM
From: Jaybharat Vishwakarma
Subject: SFTP Put Service failing with error "No Such file"
Hello team,
We've been trying to send a file to a customer on his SFTP remote directory. First the file is placed in SI mailbox folder and routing rules are responsible for invoking the BP to send out the files. Our BP is able to connect to customer's SFTP, it's also able to begin session, Do, change directory (CD operation) but when it comes to SFTP Put service, it is failing. I have verified the primary document exist and customer also confirmed that highest privilege 777 has been assigned to the folder. Not sure what is going wrong in the execution. Can somebody help me to get this fixed? Many thanks in advance.
<operation name="SFTP Client PUT Service"> <participant name="SFTPClientPut"/> <output message="SFTPClientPutServiceTypeInputMessage"> <assign to="." from="*"/> <assign to="RemoteFileName" from="if(string-length(/ProcessData/newfilename) > 0,string(/ProcessData/newfilename),string(DocumentName))"/> <assign to="ResponseTimeout" from="string(gen_ftp/ResponseTimeout)"/> <assign to="SessionToken" from="string(SFTPClientBeginResults/SessionToken)"/> </output> <input message="inmsg"> <assign to="SFTPClientPUTResults" from="*"/> </input> </operation>
------------------------------
Jaybharat Vishwakarma
------------------------------