Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Is there any way to send a file to remote sftp server using Java Script?

Avatar

Level 3

The requirement is basically, send an encrypted file to the external SFTP server, previously, that server gives me a Bearer Token, with that, I will be available to send a file.

Is there any way to accomplish that? Any help is well received.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

Thank you, so, do you know any form to parse the "curl" response to JSON object?