goftp
goftp copied to clipboard
Trying to connect to a SFTP server hangs forever
Also, I have seen that in the example in README.md you first establish a connection and then you pass the TLS config.
But I have tried to guess how to do it the other way around and it doesn't work.
Just doing it like in the example the connection hangs forever trying to connect.
Any ideas?
I having the same problem, tried using the example to connect to a server via FTPS. Just hangs for a while before closing giving me a panic msg.
I have had the same problem, because of this, I put a timeout
https://github.com/dutchcoders/goftp/issues/32
If anybody is still running up against this issue, it's because this library doesn't support implicit TLS. There's an unmerged pull request to add support. Your options are: fork the project and merge #39 or use a library with implicit support such as secsy/goftp. Unfortunately both this library and secsy/goftp seem to be abandoned by their authors.