From: Vincent Vanwaelscappel Date: Thu, 13 Feb 2025 18:18:56 +0000 (+0100) Subject: #7328 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4a8f775501a863379d5e997dec51df9e2708f773;p=cubist_util.git #7328 --- 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') ];