You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use SftpClient.DirEntry[] files = template.list("test/test0 "); return no such file error, but in server there is a folder name ‘test0 ’ which end of its name is a whitespace.
#363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
use SftpClient.DirEntry[] files = template.list("test/test0 "); return no such file error, but in server there is a folder name ‘test0 ’ which end of its name is a whitespace.
error message
Failed to execute on session; nested exception is java.io.UncheckedIOException: SFTP error (SSH_FX_NO_SUCH_FILE): No such file
The text was updated successfully, but these errors were encountered:
boolean exists = template.exists("test/test0 ");, run this function, return ture, but run SftpClient.DirEntry[] files = template.list("test/test0 "); ,report ERROR : Caused by: org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.io.UncheckedIOException: SFTP error (SSH_FX_NO_SUCH_FILE): No such file
In what version(s) of Spring Integration are you seeing this issue?
For example:
(org.springframework.integration:spring-integration-sftp:6.4.3)
Describe the bug
use SftpClient.DirEntry[] files = template.list("test/test0 "); return no such file error, but in server there is a folder name ‘test0 ’ which end of its name is a whitespace.
error message
Failed to execute on session; nested exception is java.io.UncheckedIOException: SFTP error (SSH_FX_NO_SUCH_FILE): No such file
The text was updated successfully, but these errors were encountered: