Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Trying SFTP Connection via API Proxy on APIGEE Edge

Not applicable

Hi,

Can someone help if they have created an API Proxy to establish sftp connection on Public Cloud?

I tried creating API Proxy using node script target and used couple of npm sftp modules (ssh2-sftp-client, ssh2 etc.) but without any success. I got the below error:

{fault:{faultstring:"Script node executed prematurely: Error: Cannot find module 'ssh2'\nError: Cannot find module 'ssh2'\n at module.js:340:0\n at module.js:280:0\n at module.js:364:0\n at require (module.js:380:0)\n at \/organization\/environment\/api\/hello-world.js:1:0\n at module.js:456:0\n

Though I have imported the module using management API.

If anyone has implemented SFTP connection successfully either via npm or Java callout on APIGEE Edge, could you please shed some light on it?

Thanks,

Sanchi

0 3 1,428
3 REPLIES 3