learncourse2024 opened a new issue, #489:
URL: https://github.com/apache/mina-sshd/issues/489

   ### Version
   
   2.11.0
   
   ### Bug description
   
   sshd-sftp 2.11.0 version - cannot list files in a directory when connecting 
to windows sftp server(windows server 2019)
   
   
   
   
   ### Actual behavior
   
   We are using sshd-sftp 2.11.0 version to connect to SFTP servers and do 
transfer of files from SFTP to AWS S3
   It works fine when connecting to linux based SFTP servers. But we are facing 
issues when connecting to windows based sftp servers. 
   SftpClientDirectoryScanner.scandir() does not list files in the directory. 
   On debugging we observed that the code - attrs.isRegularFile() returns false 
as it returns getPermissions() as 438  even when the file permissions are 
rw-rw-rw-
   
   
   
   ### Expected behavior
   
   The files should be listed from the respective directory
   
   ### Relevant log output
   
   _No response_
   
   ### Other information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to