Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
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?