]> _ Git - cubist_util.git/commitdiff
wait #6527 Modification commande sftp
authorsoufiane <soufiane@cubedesigners.com>
Thu, 30 Nov 2023 14:23:56 +0000 (15:23 +0100)
committersoufiane <soufiane@cubedesigners.com>
Thu, 30 Nov 2023 14:23:56 +0000 (15:23 +0100)
src/CommandLine/LFTP.php

index 7a103e8228ba44b60fc46f07ed1f121fce533e60..9fbdca2682fbc79904faff01895f8b105f4e51ce 100644 (file)
@@ -38,18 +38,6 @@ class LFTP extends CloneUserpassProgram
             case 'FTP':
                 $commands = array_merge($commands, [
                     'set ftp:ssl-allow false',
-                    //'connect ftp://' . $this->getHost()
-                ]);
-                break;
-            case 'FTPS':
-                $commands = array_merge($commands, [
-                    'connect ftps://' . $this->getHost()
-                ]);
-                break;
-            case 'FTPES':
-                $commands = array_merge($commands, [
-                    'set ftp:ssl-force true',
-                    'connect ftp://' . $this->getHost()
                 ]);
                 break;
         }