[issue34368] ftplib __init__ function can't handle 120 or 4xy reply when connect to the server

Giampaolo Rodola' report at bugs.python.org
Fri May 31 05:46:49 EDT 2019


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

>From RFC-959:

      If the server is unable to accept input right away, a
      120 "expected delay" reply should be sent immediately and a 220
      reply when ready.  The user will then know not to hang up if there
      is a delay.

Seems to make sense. Willing to provide a patch?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34368>
_______________________________________


More information about the Python-bugs-list mailing list