From 4a8f775501a863379d5e997dec51df9e2708f773 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 13 Feb 2025 19:18:56 +0100 Subject: [PATCH] #7328 --- src/CommandLine/LFTP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CommandLine/LFTP.php b/src/CommandLine/LFTP.php index 6978385..2bbe5ab 100644 --- a/src/CommandLine/LFTP.php +++ b/src/CommandLine/LFTP.php @@ -9,7 +9,7 @@ class LFTP extends CloneUserpassProgram { protected $_prog = '/usr/bin/lftp'; - protected $_ftpTimeout = 15; + protected $_ftpTimeout = 120; /** * @var bool @@ -49,7 +49,7 @@ class LFTP extends CloneUserpassProgram $commands = [ 'set net:reconnect-interval-base 5', 'set net:timeout ' . $this->getFTPTimeout(), - 'set net:max-retries 2', + 'set net:max-retries 5', 'set ftp:passive-mode ' . ($this->isPassiveMode() ? '1' : '0') ]; -- 2.39.5