on 2024 Jan 08 11:23 AM
Hi Team,
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/consuming-connectivity-service
explains how to invoke an onprem service through the cloud connector. Unfortunately examples use java, I hope you will able to translate to js.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the section "Set up the HTTP Proxy for On-Premise Connectivity" (https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/consuming-connectivity-service#set-up-the-http-proxy-for-on-premise-connectivity) on the mentioned page. Proxy host is actually always the localhost, the port take better from env.
User | Count |
---|---|
94 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.