From bedbbab592beb645a257749c10a68b6de3ef8290 Mon Sep 17 00:00:00 2001 From: Sandesh Date: Wed, 4 Dec 2024 15:12:03 +0530 Subject: [PATCH] Fixed the download file SFTP method by changing the invalid path --- src/Sftp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sftp.php b/src/Sftp.php index 534af57..5cb1741 100644 --- a/src/Sftp.php +++ b/src/Sftp.php @@ -84,7 +84,7 @@ public function download(string $remoteFilePath, string $localFilePath): bool throw new RuntimeException('Could not download a file. ' . self::ERROR_NOT_CONNECTED); } - return $this->sftp->get($localFilePath, $remoteFilePath); + return $this->sftp->get($remoteFilePath, $localFilePath); } /**