Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
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

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

Avatar

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