From 76033580daffb73687afe94655c42116ba3920f4 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 29 Nov 2023 11:33:39 +0100 Subject: [PATCH] wip #6527 --- src/Transfer/FTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transfer/FTP.php b/src/Transfer/FTP.php index f24d406..a43496c 100644 --- a/src/Transfer/FTP.php +++ b/src/Transfer/FTP.php @@ -40,7 +40,7 @@ class FTP extends Driver { 'username' => $data['username'] ?? $this->getServer()->getUsername(), 'password' => $data['password'] ?? $this->getServer()->getPassword(), 'host' => $data['host'] ?? $this->getServer()->getHost(), - 'port' => $data['port'], + 'port' => $data['port'] ?? $this->getServer()->getPort(), ]; if(!$data['host']) { -- 2.39.5