From c4a0c069b59def876e20b2cdf7c3a435858e99e9 Mon Sep 17 00:00:00 2001 From: Arno Streuli Date: Fri, 8 May 2026 12:01:19 +0200 Subject: [PATCH] Update functions.php proxy config on dowload irr table For wget to be able to go via a proxy for ftp file, it has to has the argument -e ftp_proxy. Defining just http_proxy is not enough. So I propose to add ftp_proxy for the download in flowview_check_databases --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 7a14af3..33cf71a 100644 --- a/functions.php +++ b/functions.php @@ -5773,7 +5773,7 @@ function flowview_check_databases($import_only = false, $force = false) { $wget_proxy = ''; if (!file_exists($local_file)) { if ($proxy != '') { - $wget_proxy = "-e use_proxy=on -e http_proxy=$proxy"; + $wget_proxy = "-e use_proxy=on -e http_proxy=$proxy -e ftp_proxy=$proxy"; if ($proxy_user != '') { $wget_proxy .= " --proxy-user=$proxy_user --proxy-passwd=$proxy_password"; }