diff --git a/agents/bakery/curl.py b/agents/bakery/curl.py index 2f133ca90cd01c6a35f85ac1631b24b4954d2764..8360d632aeedb86ec6924269f8a15e273adb112c 100755 --- a/agents/bakery/curl.py +++ b/agents/bakery/curl.py @@ -279,7 +279,7 @@ def get_curl_files(conf) -> FileGenerator: _options.append(f'--ftp-pret') if send_pret else None _options.append(f'--ftp-skip-pasv-ip') if skip_ip else None else: - no_send_eprt, active_address = ftp_options[1] + no_send_eprt, active_address = ftp_mode[1] _options.append(f'--disable-eprt') if no_send_eprt else None _options.append(f'--ftp-port {active_address}') if active_address else None if ftp_options.get('ftp_ssl_control'): diff --git a/curl.mkp b/curl.mkp index af7f3d6dcdcc8567dc2d310f9a8e71b707d1c7f8..4ca1c975b086b2dad4e2dadc997cff0324fa258a 100644 Binary files a/curl.mkp and b/curl.mkp differ diff --git a/web/plugins/wato/curl.py b/web/plugins/wato/curl.py index 36b89c142afafaf0a262f76b7887734a1be193fd..d24e839fb84c0a194b5b6c9678a8e32c489d1e2f 100644 --- a/web/plugins/wato/curl.py +++ b/web/plugins/wato/curl.py @@ -672,7 +672,7 @@ _option_ftp_settings = ('ftp_settings', ('ftp_create_dirs', FixedValue( True, title=_('Create remote dir(s)'), - totext=_('enabled') + totext=_('') )), ('ftp_change_cwd_method', DropdownChoice( title=_('Change working directory method'), @@ -733,17 +733,17 @@ _option_ftp_settings = ('ftp_settings', ('compressed_ssh', FixedValue( True, title=_('Enable ssh compression'), - totext=_('enabled'), + totext=_(''), )), ('list_only', FixedValue( True, title=_('Enable list only'), - totext=_('enabled'), + totext=_(''), )), ('use_ascii', FixedValue( True, title=_('Enable ASCII transfer'), - totext=_('enabled'), + totext=_(''), )), ], ), @@ -850,7 +850,7 @@ _option_mail_settings = ('mail_settings', ('mail_rpct_allowfail', FixedValue( True, title=_('Allow some mail to addresses to fail'), - totext=_('enabled') + totext=_('') )) ] ),