flexget.components.ftp.ftp_list module#
- class flexget.components.ftp.ftp_list.FTPList[source]#
Bases:
object- schema = {'properties': {'dirs': {'oneOf': [{'items': {'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': False}, {'title': 'single value', 'type': 'string'}]}, 'encoding': {'type': 'string'}, 'host': {'type': 'string'}, 'password': {'type': 'string'}, 'port': {'type': 'integer'}, 'recursion': {'type': 'boolean'}, 'recursion_depth': {'type': 'integer'}, 'retrieve': {'oneOf': [{'items': {'enum': ['files', 'dirs', 'symlinks'], 'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': True}, {'enum': ['files', 'dirs', 'symlinks'], 'title': 'single value', 'type': 'string'}]}, 'ssl': {'type': 'boolean'}, 'username': {'type': 'string'}}, 'required': ['username', 'host'], 'type': 'object'}#
- class flexget.components.ftp.ftp_list.ReuseTLSSessionFTP(host='', user='', passwd='', acct='', *, context=None, timeout=<object object>, source_address=None, encoding='utf-8')[source]#
Bases:
FTP_TLSExplicit FTPS, with shared TLS session.
This is a workaround for python/cpython#63699.