Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with SFTP #27

Closed
ManuelJm opened this issue May 24, 2018 · 1 comment
Closed

Not working with SFTP #27

ManuelJm opened this issue May 24, 2018 · 1 comment

Comments

@ManuelJm
Copy link

Hi,
I've tried to use this library with a SFTP server, but the connect method always returns 0.

Does anyone knows how to use this lib with sftp?

The server i've tried is at:

199.71.215.197:2222

Works fine on FileZilla.

I've traced the code but i'm not able to figure out whats going on.
The problem seems the readline('2'... call which works ok nor normal ftp but not for sftp.

@mkulke
Copy link
Owner

mkulke commented Apr 28, 2019

SFTP is a completely different protocol, based on SSH. While FTPS is a security extension to FTP.

@mkulke mkulke closed this as completed Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants