[issue2054] add ftp-tls support to ftplib - RFC 4217

Bill Janssen report at bugs.python.org
Sat Mar 22 00:28:38 CET 2008


Bill Janssen <bill.janssen at gmail.com> added the comment:

On Fri, Mar 21, 2008 at 5:43 AM, Robert E. <report at bugs.python.org> wrote:

>
> Robert E. <robert at re-factory.de> added the comment:
>
> Concerning the plain-text login. I think a FTPS class should default to
> encrypted login (you could use the ftp class if you dont want). In no
> way should the login credentials be sent unencrypted on default. Using
> another parameter might be a soulution to that, though I would prefer
> the library to raise an error if establishing an FTPS connection did not
> succeed. The main program could then catch it and decide how to proceed
> (using plain ftp or aborting according to a given policy).

Sounds reasonable to me.

Note that FTP is an old and somewhat gnarly protocol, and
doesn't work the way more recent application protocols do.  The SSL
module is designed for TCP-based single-connection call-response
protocols, more or less.  Doing FTPS right might mean we'd have to
extend it.

Added file: http://bugs.python.org/file9807/unnamed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2054>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unnamed
Url: http://mail.python.org/pipermail/python-bugs-list/attachments/20080321/231759a2/attachment.txt 


More information about the Python-bugs-list mailing list