Is there any way to send a file to remote sftp server using Java Script? | Community
Skip to main content
israel_sanchez
Level 3
Feb 26, 2020 12:37 AM UTC
Solved

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

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.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Feb 26, 2020 3:12 PM UTC

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

3 replies

Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Feb 26, 2020 3:12 PM UTC

Hi,

 

Yes, use execCommand('curl').

 

Thanks,

-Jon

Translate
israel_sanchez
Level 3
Mar 5, 2020 4:51 AM UTC
Thank you, so, do you know any form to parse the "curl" response to JSON object?
Translate