Jonathan <[email protected]> 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", line 385, in run_ftps
ftps.dir()
File "c:\Python37\lib\ftplib.py", line 575, in dir
self.retrlines(cmd, func)
File "c:\Python37\lib\ftplib.py", line 485, in retrlines
conn.unwrap()
File "c:\Python37\lib\ssl.py", line 1059, in unwrap
s = self._sslobj.unwrap()
File "c:\Python37\lib\ssl.py", line 706, in unwrap
return self._sslobj.shutdown()
OSError: [Errno 0] Error
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31727>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com