We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kind of follow up to #184. Explicit FTPS works now, however:
await client.upgrade_to_tls(self.ssl_context) client._upgraded_to_tls = True # pylint: disable=protected-access client._open_connection = functools.partial(asyncio.open_connection, ssl=client.ssl) # pylint: disable=protected-access
AFAIK, _upgraded_to_tls is never set in the actual code, and _open_connection is incorrect after update since it is not update with new ssl instance.
The text was updated successfully, but these errors were encountered:
Thank you for the report. Will try to check this out in couple days.
Sorry, something went wrong.
Thanks. For testing, I am using this FTP server:
#!/usr/bin/env python3 """FTPS server which requires explicit TLS""" import os import sys from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import TLS_FTPHandler from pyftpdlib.servers import FTPServer def main(): "Main" authorizer = DummyAuthorizer() authorizer.add_anonymous(".", perm="elradfmwMT") handler = TLS_FTPHandler handler.authorizer = authorizer handler.certfile = os.path.dirname(__file__) + "my.crt" handler.tls_control_required = True handler.tls_data_required = True server = FTPServer(("127.0.0.1", int(sys.argv[1])), handler) server.serve_forever() if __name__ == "__main__": main()
No branches or pull requests
Kind of follow up to #184. Explicit FTPS works now, however:
AFAIK, _upgraded_to_tls is never set in the actual code, and _open_connection is incorrect after update since it is not update with new ssl instance.
The text was updated successfully, but these errors were encountered: