Open
Description
If any of the options are wrong (hostname, username or password), EM::FtpClient::Session
doesn't call the callback, and EM::FtpClient::SyncSession
similarly freezes.
I tried to fix that by simply adding errback
to @control_connection
in Session#initialize
, but:
- It doesn't get called anyway if the host is wrong.
- If it's just the username that is wrong, the callback gets called, but I have no way to distinguish this situation from when everything went right. E.g.,
control_connection.error?
still returnsfalse
.
Metadata
Metadata
Assignees
Labels
No labels