[issue31727] FTP_TLS errors when use certain subcommands

2021-04-20 Thread Christian Heimes
Christian Heimes added the comment: I'm removing the SSL component. The issue here seems to be caused by the way how ftplib use the ssl module, not by a problem in the ssl module itself. -- components: +Library (Lib) -SSL, Windows versions: +Python 3.10, Python 3.9 -Python 3.6, Python

[issue31727] FTP_TLS errors when use certain subcommands

2020-03-12 Thread Jonathan Castro
Jonathan Castro added the comment: I had the same problem but when i was trying to upload the files using FTPS with explicit TLS 1.2 over an AWS Lambda function. Each time that i was trying upload a file, there was an lambda timeout on the storbinary called, and the function ended whit error

[issue31727] FTP_TLS errors when use certain subcommands

2019-08-23 Thread Neha Reddy
Neha Reddy added the comment: We faced the same issue while trying to copy files to an FTPS server. We are trying to connect to a Filezilla server. The type of encryption we are using for the FTPS is 'Require explicit FTP over TLS'. There are the errors that my colleague and I had while tryi

[issue31727] FTP_TLS errors when use certain subcommands

2018-12-18 Thread Paul Wilkinson
Paul Wilkinson added the comment: This issue does appear to be related to the FTP server (or presumably the SSL library on the FTP server). A test against `test.rebex.net` works with OpenSSL 1.0.1t (on Debian) and LibreSSL 2.2.7 (macOS 10.14.2) while a test against my web host fails on both

[issue31727] FTP_TLS errors when use certain subcommands

2018-05-14 Thread Grégoire Chauvet
Grégoire Chauvet added the comment: I want to confirm that I have this exact same issue as described. To add some information, it occurs on: Python 3.6.3 on Windows Python 3.6.5 on Debian, with OpenSSL 1.0.1t 3 May 2016 Python 3.5.3 on Debian, with OpenSSL 1.1.0f 25 May 2017 Python 3.6.5 on F

[issue31727] FTP_TLS errors when use certain subcommands

2018-04-28 Thread Dong-hee Na
Dong-hee Na added the comment: I can not reproduce this issue on Python 3.8.0a0 with OpenSSL 0.9.8zh 14 Jan 2016 and OpenSSL 1.0.2o 27 Mar 2018 import ssl import ftplib print(ssl.OPENSSL_VERSION) ftps = ftplib.FTP_TLS('test.rebex.net', timeout=2) ftps.ssl_version = ssl.PROTOCOL_TLS ftps.lo

[issue31727] FTP_TLS errors when use certain subcommands

2018-04-27 Thread Matthieu Pepin
Matthieu Pepin added the comment: I can confirm. I'm having the exact same issue in Python 3.6.5. -- nosy: +Matthieu Pepin ___ Python tracker ___ __

[issue31727] FTP_TLS errors when use certain subcommands

2018-02-27 Thread Jonathan
Jonathan added the comment: Hi Christian - Can you not reproduce it from the code included in my original report? I think that's pretty much all that should be needed, as it's all I was using when I discovered the issue. I figure the hard part will be finding a FTP_TLS server to test with. -

[issue31727] FTP_TLS errors when use certain subcommands

2018-02-26 Thread Christian Heimes
Christian Heimes added the comment: Jonathan, are you able to provide a reproducer for this bug? I fear we cannot move forward without a way to test and reproduce the issue. -- assignee: christian.heimes -> status: open -> pending versions: +Python 3.8 ___

[issue31727] FTP_TLS errors when use certain subcommands

2017-10-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed title: FTP_TLS errors when -> FTP_TLS errors when use certain subcommands type: -> behavior versions: +Python 3.7 ___ Python tracker __

[issue31727] FTP_TLS errors when

2017-10-11 Thread Jonathan
Jonathan added the comment: Just tested this with Python 3.7.0a1. I'm afraid it makes no difference. Exact same error: *cmd* 'LIST' *put* 'LIST\r\n' *get* '150 Accepted data connection\n' *resp* '150 Accepted data connection' Traceback (most recent call last): File "c:\backup_script.py", lin

[issue31727] FTP_TLS errors when

2017-10-09 Thread Steve Dower
Steve Dower added the comment: "OSError: [Errno 0] Error" typically means that OpenSSL failed due to a Windows error, but we assumed it failed due to a POSIX error and so read the wrong error number (errno instead of GetLastError()). It's worth testing with Python 3.7.0a1, since we made some

[issue31727] FTP_TLS errors when

2017-10-08 Thread Ned Deily
Change by Ned Deily : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Python

[issue31727] FTP_TLS errors when

2017-10-08 Thread Jonathan
New submission from Jonathan : Using Python 3.6.3. The below issue only happens with FTP_TLS. It works fine via a plain FTP connection. I am connecting to an FTP to using `ftplib` via FTP_TLS. ftps = ftplib.FTP_TLS('example.com', timeout=5) # TLS is more secure than SSL