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