Skip to content

Commit 6e976ad

Browse files
Merge pull request #1 from sandeshjangam/fix-download-file
Fixed the download file SFTP method by changing the invalid path
2 parents 9c53f7e + bedbbab commit 6e976ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Sftp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function download(string $remoteFilePath, string $localFilePath): bool
8484
throw new RuntimeException('Could not download a file. ' . self::ERROR_NOT_CONNECTED);
8585
}
8686

87-
return $this->sftp->get($localFilePath, $remoteFilePath);
87+
return $this->sftp->get($remoteFilePath, $localFilePath);
8888
}
8989

9090
/**

0 commit comments

Comments
 (0)