Skip to content

Conversation

artembilan
Copy link
Member

Fixes #3974

  • Treat a leading / as an indicator of absolute path request in the SftpSession.doList()
  • Call sftpClient.canonicalPath() for path without a leading / to resolve it as relative path in the user home
  • Add a note in docs for LS command

Fixes spring-projects#3974

* Treat a leading `/` as an indicator of absolute path request in the `SftpSession.doList()`
* Call `sftpClient.canonicalPath()` for path without a leading `/` to resolve it as relative path in the user home
* Add a note in docs for `LS` command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sftp Session cannot open directory from the absolute path

2 participants