Net::FTP#login raises TypeErrors
Net::FTP#login raises TypeError when one of the passed arguments (user, password or account) is nil.
This happens when only passing a user, but a password is requested by the Server.
- Assignee set to shugo (Shugo Maeda)
Is the attached patch sufficient?
This patch raises FTPReplyError in such a situation.
Yes, that patch seems to be fine.
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r18417.
Also available in: Atom