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
BedrockMission!

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_sanchez
Level 2
Level 2

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
wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

View solution in original post

3 Replies
wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

View solution in original post

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