I am trying to achive a use case of reading a simple file placed in an sftp server. Below are the steps followed. Please help to advise as am not able to achieve the connection succesfuly.
1. Created Cloud connector with backend SFTP server. When pinged, says connectivity established.
2. Created a destination pointing to the cloud connector and the connectivty works in the console.
But I wrote my nodejs code where i first connect to connector proxy and from there to sftp server. But its says timeout. Can help to point the right way to do it.I followed this blog but of no luck
Any help or sample will be greatly appreciated.
You have to follow Using the TCP Protocol for Cloud Applications and make use of the SOCKS5 proxy. I would guess the SFTP NPM Package you're using isn't supporting that. If you have a SAP Cloud Integration instance available I would suggest to use it's SFTP functionality.
explains how to invoke an onprem service through the cloud connector. Unfortunately examples use java, I hope you will able to translate to js.