B2B Integration

 View Only
Expand all | Collapse all

SFTP Put Service failing with error "No Such file"

  • 1.  SFTP Put Service failing with error "No Such file"

    Posted Mon October 09, 2023 12:53 PM

    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) &gt; 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
    ------------------------------


  • 2.  RE: SFTP Put Service failing with error "No Such file"

    Posted Tue October 10, 2023 05:17 AM

    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
    ------------------------------



  • 3.  RE: SFTP Put Service failing with error "No Such file"

    Posted Tue October 10, 2023 10:50 PM

    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
    ------------------------------