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

2010-05-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

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

2010-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Apr 11, 2010 at 07:43:56PM +, Éric Araujo wrote: > httplib.Client, ftplib.Client, ftplib.SecureClient would be much more > descriptive than httplib.HTTP and ftplib.FTP. Any interest about adding > aliases? Aliases would be a bad idea. -1. It is f

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

2010-04-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Thinking back about this, I wonder whether "FTPS" could be a better name to > use instead of "FTP_TLS". > It's shorter, easier to remember, and also makes more sense since also SSL > can be used, not only TLS. What do you mean by "also SSL can be used"? Wik

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

2010-04-11 Thread Éric Araujo
Éric Araujo added the comment: It doesn’t look like a constant, too. httplib.Client, ftplib.Client, ftplib.SecureClient would be much more descriptive than httplib.HTTP and ftplib.FTP. Any interest about adding aliases? Regards -- nosy: +merwok __

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

2010-04-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Thinking back about this, I wonder whether "FTPS" could be a better name to use instead of "FTP_TLS". It's shorter, easier to remember, and also makes more sense since also SSL can be used, not only TLS. -- ___

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

2009-12-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's already in 2.7. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2009-12-07 Thread Domen
Domen added the comment: Nice! Any chance of merging with 2.7? Python3.2 is waaay too far in future for such useful change to be actually useful. -- ___ Python tracker ___ __

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

2009-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Buildbots are ok. Thank you! -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker _

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

2009-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Ok, I took a look and it seems ok to me but I still get some occasional > failures on Windows from time to time. > Because of the threading nature of our server I suspect that moving > del_channel() before ssl.wrap_socket() call, like this: Ok, thanks! > .

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

2009-11-17 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Ok, I took a look and it seems ok to me but I still get some occasional failures on Windows from time to time. Because of the threading nature of our server I suspect that moving del_channel() before ssl.wrap_socket() call, like this: -socket =

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

2009-11-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file15351/ftptls-py3k-2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

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

2009-11-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file15350/ftptls-py3k-2.patch ___ Python tracker ___ ___ Python-bugs-list mail

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

2009-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I now have a working patch. The main fix was to change SSLConnection.secure_connection() to: def secure_connection(self): socket = ssl.wrap_socket([ ##etc. ]) self.del_channel() self.set_socket(socket)

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

2009-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is the current py3k patch I have, after resolving conflicts and cleaning up the obvious problems. After tracing a bit, it seems that ssl.wrap_socket() changes the socket fileno under py3k, while it doesn't under trunk. -- Added file: http://bugs.py

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

2009-11-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Can you attach the 3.x patch so that I can test it myself? I tried to apply the current 2.x patch against the 3.x trunk but I get conflicts. -- ___ Python tracker _

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

2009-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: The tests don't work under py3k, for some reason I can't figure out. There's the following error and then the tests hang: test_acct (test.test_ftplib.TestTLS_FTPClassMixin) ... Exception in thread Thread-31: Traceback (most recent call last): File "/home/anto

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

2009-11-15 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: If we want to add SSL support then the patch in attachment modifies the last one as I described in my previous comment. I re-run the tests and they are ok so I guess you can go on with the commit. -- Added file: http://bugs.python.org/file15343/ftp

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

2009-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Giampaolo, do you plan to add something or is the patch ok to commit? -- ___ Python tracker ___ ___

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

2009-11-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I noticed you were using ftp.python.org in the example strings, but that service doesn't seem to be alive. I don't know if there's another public FTP-TLS server you could rely on...? -- ___ Python tracker

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

2009-10-25 Thread Domen
Domen added the comment: What about AUTH SSL? Or is it too-deprecated? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2009-10-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Ah, sorry, roundup's e-mail interface ate part of the message. > The error happens when doing "from ftplib import *". Apparently __all__ > contains a non-string value. Oh, shame on me! You're right. Thanks for the great review you're doing. > Regarding m

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

2009-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Regarding msg64093, the only API change Bill's suggestion would entail is an additional optional parameter to the constructor, so adding it later would be backwards-compatible. -- ___ Python tracker

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

2009-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, sorry, roundup's e-mail interface ate part of the message. The error happens when doing "from ftplib import *". Apparently __all__ contains a non-string value. > I don't have commit privileges. Someone else should do it. Ok, I'll do it if Bill doesn't give

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

2009-10-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > A last problem: > > Traceback (most recent call last): > File "", line 1, in > TypeError: attribute name must be string, not 'classobj' Mmmm this doesn't say much. When does it happen? Is that the complete traceback message? > The patch is ok to me. P

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

2009-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: A last problem: Traceback (most recent call last): File "", line 1, in TypeError: attribute name must be string, not 'classobj' -- ___ Python tracker __

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

2009-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch is ok to me. Perhaps Bill wants to take a look, otherwise I think you can commit. -- resolution: -> accepted stage: patch review -> commit review ___ Python tracker

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

2009-10-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > You can build the docs by going to the Doc directory and typing "make > html" there. It isn't critical anyway. Done. It's well formatted now. > The tests failed to run, I had to replace the KEYCERT declaration with: >KEYCERT = os.path.join(os.path.dir

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

2009-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: You can build the docs by going to the Doc directory and typing "make html" there. It isn't critical anyway. The tests failed to run, I had to replace the KEYCERT declaration with: KEYCERT = os.path.join(os.path.dirname(__file__), "keycert.pem") (and add

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

2009-10-17 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: A patch including tests and documentation is now in attachment. The test TLS server is very similar to pyftpdlib's I draw on: http://code.google.com/p/pyftpdlib/source/browse/trunk/demo/tls_ftpd.py I wasn't able to "compile" the documentation so I'm not 100%

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

2009-10-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Added file: http://bugs.python.org/file15147/ftplib.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2009-10-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Removed file: http://bugs.python.org/file15146/ftplib.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2009-10-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > From a quick look at the patch, if you call login() twice, the socket > will be wrapped twice as well? Perhaps auth_tls() should have a > protection against this. You're right. Done. > In prot_p() and prot_c(), it seems that self._prot_p is updated > unco

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

2009-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: One more question, why is "ssl_version=ssl.PROTOCOL_TLSv1" hardwired? -- ___ Python tracker ___ ___

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

2009-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: >From a quick look at the patch, if you call login() twice, the socket will be wrapped twice as well? Perhaps auth_tls() should have a protection against this. In prot_p() and prot_c(), it seems that self._prot_p is updated unconditionally, regardless of the FT

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

2009-10-15 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I can surely write tests altough I think that issue 3890 might cause some problems since the test server I included some months ago is asyncore-based and hence asynchronous. I have a good knowledge of the FTP protocol but someone with a good knowledge of

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

2009-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, first some tests should be added. As for reviewing, it needs to be done by someone competent with FTP and SSL/TLS. If no such person is available and you are confident that the patch is ok (and ready to do necessary maintenance), then perhaps you can commi

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file13171/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file13161/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file10784/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file9807/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file9783/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file9782/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2009-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file9775/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2009-10-15 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Are there chances to see this reviewed? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2009-10-15 Thread Lance Edgar
Changes by Lance Edgar : -- nosy: +lgedgar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

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

2009-09-12 Thread Tom
Changes by Tom : -- nosy: +qwavel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

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

2009-03-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Removed file: http://bugs.python.org/file13156/ftplib.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2009-03-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I realized that the attached patch had some indentation issues. The one in attachment fixes them. ___ Python tracker ___ _

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

2009-03-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I released that the attached patch had some indentation issues. The one in attachment fixes them. Added file: http://bugs.python.org/file13242/ftplib.patch ___ Python tracker __

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

2009-02-27 Thread Jeff Oyama
Jeff Oyama added the comment: Ok after examining it more closely, it appears to be a false alarm, my apologies ___ Python tracker ___ ___ Pytho

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

2009-02-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Actually I have encountered a possible bug. the close() > method doesn't seem to actually close the connection... Why? What happens exactly? ___ Python tracker __

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

2009-02-24 Thread Jeff Oyama
Jeff Oyama added the comment: Actually I have encountered a possible bug. the close() method doesn't seem to actually close the connection... On Mon, Feb 23, 2009 at 11:56 PM, Jeff Oyama wrote: > > Jeff Oyama added the comment: > > Thank you Giampaolo, it works just as I was hoping, =] I tes

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

2009-02-23 Thread Jeff Oyama
Jeff Oyama added the comment: Thank you Giampaolo, it works just as I was hoping, =] I tested it on glftpd using python 2.6.1. Added file: http://bugs.python.org/file13161/unnamed ___ Python tracker ___

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

2009-02-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: After Bill added SSL's unwrap() method I modified my previous patch so that it shutdown the SSL layer before closing the data connection. I successfully tested it against proftpd, vsftpd and pyftpdlib TLS server [1]. If some python developer could give me an

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

2009-02-22 Thread Jeff Oyama
Jeff Oyama added the comment: Just wondering, has anyone done a patch since Bill made the necessary changes to ssl.py in order to implement FTP TLS? If so, where can I find it? I would love to test it out. -- nosy: +jeffo ___ Python tracker

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

2008-11-12 Thread Todd Whiteman
Changes by Todd Whiteman <[EMAIL PROTECTED]>: -- nosy: +twhitema ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing

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

2008-08-12 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: OK, I think I've done the minimal fix necessary to the SSL module to allow this work to proceed. ___ Python tracker <[EMAIL PROTECTED]> _

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

2008-08-12 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: I think I'm just going to bring the unwrap already in the _ssl.c code out to the ssl.py module, that seems to be the simplest fix. Still not sure you can do a proper fix to ftplib here, but that seems to be a good thing to do anyway, rather tha

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

2008-07-11 Thread Lukasz Szybalski
Lukasz Szybalski <[EMAIL PROTECTED]> added the comment: Is the ftp-tls able to use certificate to connect to ftps server? I currently need to connect to state's ftps server which requires certificate to be present when authenticating. Is that option available? What is the current status of this

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

2008-06-30 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Could what I've just said be an idea? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyt

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

2008-06-30 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Ok, so let's leave httplib alone. Let's just add the unwrap() method to ssl.SSLSocket so that it could be be possible to go ahead with the current patch. Modifying it consists in just adding a new prot_c method (I could do that). As for the

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

2008-06-30 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: But httplib is far from fixed. It's a nasty tarball of interdependencies... Bill On Mon, Jun 30, 2008 at 4:12 AM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > > Yes, I think that

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

2008-06-30 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Yes, I think that providing an "unwrap" method for the ssl module would be good, independently from this issue. With that implemented and httplib fixed in the way you were mentioning in this same report I can go on with modifying the ftplib

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

2008-06-29 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: The 2.6/3.0 changes are now up-to-date. We could reconsider this problem. My guess is that we still don't quite know what to do. I think the issue is that we need a way to "unwrap" the SSL-secured TCP stream, after it's been used. So we need

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

2008-05-12 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Bill, are there news about the fix to httplib? I'd like to see this feature included in 2.6 if possible. __ Tracker <[EMAIL PROTECTED]> __ _

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

2008-03-21 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: On Fri, Mar 21, 2008 at 5:43 AM, Robert E. <[EMAIL PROTECTED]> wrote: > > Robert E. <[EMAIL PROTECTED]> added the comment: > > Concerning the plain-text login. I think a FTPS class should default to > encrypted login (you could use the ftp clas

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

2008-03-21 Thread Robert E.
Robert E. <[EMAIL PROTECTED]> added the comment: >> FWIW, m2crypto already provides an FTP-TLS facility with an >> ftplib-compatible API. See http://chandlerproject.org/Projects/MeTooCrypto Right but m2crypto is not part of the standard library (and is not going to be anytime soon). SSL is sched

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

2008-03-20 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: FWIW, m2crypto already provides an FTP-TLS facility with an ftplib-compatible API. See http://chandlerproject.org/Projects/MeTooCrypto -- nosy: +pitrou __ Tracker <[EMAIL PROTECTED]>

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

2008-03-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Once I've got JCC working, and finished the SSL work for 2.6. On Wed, Mar 19, 2008 at 1:46 PM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > > > As you point out, the other classes

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

2008-03-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: Probably what I should do is fix httplib, that would provide an example we could extend to the rest of the modules. Bill On Wed, Mar 19, 2008 at 1:46 PM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > > Giampaolo Rodola' <[EMAIL PROTECTED]> ad

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

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > As you point out, the other classes should be fixed. The old > client-side protocol was never very well thought out, IMHO. > Continuing to propagate it would be a mistake. Ok, how do you think it would have be modified? Could you pro

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

2008-03-19 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: As you point out, the other classes should be fixed. The old client-side protocol was never very well thought out, IMHO. Continuing to propagate it would be a mistake. Bill On Wed, Mar 19, 2008 at 12:22 PM, Giampaolo Rodola' <[EMAIL PROTECTED

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

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > This is a straightforward implementation of client-side use of SSL, > but it's missing a test case for evaluation. It should include a > patch to test_ftplib to test it. I'm not sure how it could be tested, since we don't have an FTPS

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

2008-03-17 Thread Domen
Domen <[EMAIL PROTECTED]> added the comment: The lib should give programmer choice wether to send login through TLS or not. (as it is described in RFC 4217). Also, there should be an optional parameter to specify port for ftp connection. -- nosy: +iElectric

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

2008-02-22 Thread Bill Janssen
Bill Janssen added the comment: This is a straightforward implementation of client-side use of SSL, but it's missing a test case for evaluation. It should include a patch to test_ftplib to test it. Another thing to look at is what the useful arguments are to pass in for TLS usage over FTP. If,

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

2008-02-20 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I've tried to work on this in the last 2 days and here is my implementation attempt. The patch in attachment provides a new FTP subclass which connects to port 21 as usual leaving control and data channels implicitly unprotected. Securing control and data chan

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

2008-02-08 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubs

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

2008-02-08 Thread Gregory P. Smith
New submission from Gregory P. Smith: ftplib does not support ftp over SSL / TLS as described in RFC 4217. This would be a nice thing for someone wanting to contribute something to add. -- components: Library (Lib) messages: 62217 nosy: gregory.p.smith severity: normal status: open titl