Is there any way to send a file to remote sftp server using Java Script? | Community
Skip to main content
israel_sanchez
Level 3
February 26, 2020
Solved

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

  • February 26, 2020
  • 1 reply
  • 3869 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
February 26, 2020

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

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