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

SOLVED

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

israel_aem
Level 3
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
Jonathon_wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

View solution in original post

0 Replies
Jonathon_wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

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