You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Santhosh Nair (JIRA)" <ji...@apache.org> on 2015/02/04 00:11:35 UTC

[jira] [Created] (SSHD-404) SSHD-FTP Protocol version 5 fails on SSH_FXP_READDIR command

Santhosh Nair created SSHD-404:
----------------------------------

             Summary: SSHD-FTP Protocol version 5 fails on SSH_FXP_READDIR command
                 Key: SSHD-404
                 URL: https://issues.apache.org/jira/browse/SSHD-404
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.13.0
            Reporter: Santhosh Nair
             Fix For: 0.14.0


You could use Winscp  to test this (Make sure winscp use protocol version 5). After investigation I found it is because ACCESSTIME is missing under file Attributes. You could fix this by adding following code segment inside Serializer.writeAttrs(...)
 if (version >=4 && (flags & SSH_FILEXFER_ATTR_ACCESSTIME)!= 0 ){
        	buffer.putLong(attrs.getAccessTime());
        }




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)