classification
Title: ftplib __init__ function can't handle 120 or 4xy reply when connect to the server
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: H-ZeX
Priority: normal Keywords:

Created on 2018-08-10 04:57 by H-ZeX, last changed 2018-08-10 05:01 by H-ZeX.

Messages (1)
msg323354 - (view) Author: H-ZeX (H-ZeX) Date: 2018-08-10 05:01
in the __init__ function, call getresp,

however, the getresp don't handle the 120 reply which indicate the request should be delay or 421 reply

in the rfc 959 page 50, there are all reply that may return

Connection Establishment
120
220
220
421
History
Date User Action Args
2018-08-10 05:01:02H-ZeXsetmessages: + msg323354
2018-08-10 04:57:59H-ZeXsetcomponents: + Library (Lib), - XML
2018-08-10 04:57:34H-ZeXcreate