Files
spring-integration/spring-integration-sftp
Artem Bilan b17a9468c4 GH-9821: SFTP: Use STAT command to follow symlinks
Fixes: #9821
Issue link: https://github.com/spring-projects/spring-integration/issues/9821

Previously, Spring Integration used JSch library for SFTP protocol,
and that one was able to follow symlinks.
Currently, the `SftpSession` uses `LSTAT` command which does not follow symlinks

* Fix `SftpSession` to call `sftpClient.stat()` instead of `lstat()`
to mitigate migration pain from JSch

(cherry picked from commit efa8dc50b7)
2025-02-12 18:29:14 +00:00
..
2016-05-03 11:55:55 -04:00