[issue44788] Possibility to specify port in __init__ of ftplib.FTP
Marty
report at bugs.python.org
Sat Jul 31 13:47:34 EDT 2021
Marty <vpjtqwv0101 at gmail.com> added the comment:
Well, if it's possible to connect to ftp server within __init__, I think that adding port parameter makes sense.
I mostly don't need to handle connect() and login() separately. All I need is to connect to ftp server and work with it. If there is some trouble with connection or login, the code still can't continue in this case.
I haven't discussed this idea there. I'm going to create a topic for it and I will add the link here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44788>
_______________________________________
More information about the Python-bugs-list
mailing list