[issue821862] ftplib: Strict RFC 959 (telnet in command channel)

Oleg Broytmann report at bugs.python.org
Tue Aug 17 18:20:39 CEST 2010


Oleg Broytmann <phd at phd.pp.ru> added the comment:

> Other than IAC what other chars need to be doubled?

Only IAC must be doubled. Also there have to be a special prefix for urgent (out-of-bound) commands (ABORt); I didn't implement that.

> As an alternative to a brand new TelnetFTP class this can be implemented as a FTP class attribute ("strict_telnet" maybe) defaulting to True.

See the first patch. Default value is False to preserve backward compatibility.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue821862>
_______________________________________


More information about the Python-bugs-list mailing list