From bc99c7a3e37584725c36f772c62d4e08eb0dd051 Mon Sep 17 00:00:00 2001 From: soufiane Date: Thu, 1 Feb 2024 11:29:03 +0100 Subject: [PATCH] =?utf8?q?wait=20#6668=20@1:00=20correctif=20appliqu=C3=A9?= =?utf8?q?=20sur=20le=20mode=20de=20connexion=20pour=20les=20connexions=20?= =?utf8?q?ftp?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/CommandLine/LFTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommandLine/LFTP.php b/src/CommandLine/LFTP.php index 7784e98..87028b3 100644 --- a/src/CommandLine/LFTP.php +++ b/src/CommandLine/LFTP.php @@ -19,6 +19,7 @@ class LFTP extends CloneUserpassProgram { parent::setServer($server); $settings = $server->getSettings(); + $settings['ftp_mode'] = $server->ftp_mode; if (isset($settings['ftp_mode'])) { $this->setPassiveMode($settings['ftp_mode'] == '0'); } @@ -28,7 +29,6 @@ class LFTP extends CloneUserpassProgram protected function _preExecute() { parent::_preExecute(); - $commands = [ 'set net:reconnect-interval-base 5', 'set net:max-retries 2', -- 2.39.5