I want to access sftp servers through a node.js app. Do you know a library for this? Or have you an idea how I could realize this?
Thanks for your answers!
The SSH2 File Transfer Protocol (SFTP), supported by Cerberus FTP Server Professional and higher, is a network protocol that provides secure and reliable file access, file transfer, and file management functionality.
WinSCP. WinSCP is a popular file transfer client for Windows, boasting over 114 million downloads. It's free, extensible, and supports SFTP, FTP(S), SCP, and WebDAV (an extension of HTTP). WinSCP supports drag and drop, a variety of languages, scripting, and includes an integrated text editor.
SFTP cannot exist without SSH — SFTP uses SSH as the binding agent to transfer files securely. In other words, SSH protocol is used in the file transfer mechanism SFTP. In fact, most SSH servers include SFTP capabilities. However, not all SFTP servers support SSH commands and actions.
May be SSH2(https://www.npmjs.org/package/ssh2) library will help you
I don't think there is a library already written for this, but you could perhaps use the sftp client via a child process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With