mscdex / node-ftp

An FTP client module for node.js
MIT License
1.13k stars 243 forks source link

Cannot connect using node-ftp - Handshake failed #140

Closed developeron29 closed 8 years ago

developeron29 commented 8 years ago

After turning debug: console.log,

I got the following consoles: [connection] < 'SSH-2.0-WingFTPserver\r\n' [connection] < '\u0000\u0000\u0000$\u0006\u0001\u0000\u0000\u0000\u0002\u0000\u0000\u0000\u0010Handshake failed\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'

Any help would be deeply appreciated, Thanks!

mscdex commented 8 years ago

The ftp module is for plain FTP and FTPS, it does not support SFTP, which requires SSH support. For SFTP support, you can use the ssh2 module.