close Warning:

source: sandbox/session.py @ 1486:f70b18e91500

Last change on this file since 1486:f70b18e91500 was 1486:f70b18e91500, checked in by Stefan Schwarzer <sschwarzer@…>, 7 years ago
Added "universal" "session factory factory". The new module `session.py` defines a function `session_factory` to create a session factory (class) according to the keyword arguments passed to the function. Example: my_session_factory = session_factory( base_class=M2Crypto.ftpslib.FTP_TLS, use_passive_mode=True, encrypt_data_channel=True) with ftputil.FTPHost(host, user, password, session_factory=my_session_factory) as host:
File size: 2.9 KB

HTML preview not available, since no preview renderer could handle it. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.