flexget.components.ftp.ftp_list module#

class flexget.components.ftp.ftp_list.FTPList[source]#

Bases: object

static prepare_config(config)[source]#
_to_entry(path)[source]#
get_content(path, recursion, recursion_depth, content_types)[source]#
on_task_input(task, config)[source]#
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_TLS

Explicit FTPS, with shared TLS session.

This is a workaround for python/cpython#63699.

ntransfercmd(cmd, rest=None)[source]#

Initiate a transfer using shared TLS session over the data connection.

flexget.components.ftp.ftp_list.register_plugin()[source]#