goftp icon indicating copy to clipboard operation
goftp copied to clipboard

Trying to connect to a SFTP server hangs forever

Open sayden opened this issue 8 years ago • 3 comments

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?

sayden avatar Feb 03 '17 13:02 sayden

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.

LukeKerr avatar Mar 15 '17 20:03 LukeKerr

I have had the same problem, because of this, I put a timeout

https://github.com/dutchcoders/goftp/issues/32

helmutkemper avatar Mar 31 '17 16:03 helmutkemper

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.

DeanPDX avatar Mar 17 '22 19:03 DeanPDX