[ https://issues.apache.org/jira/browse/SSHD-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-423. ---------------------------------- Resolution: Fixed Fix Version/s: 1.0.0 Assignee: Guillaume Nodet https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=74f6b6c6d971526c1d1fa1a28d32784050228430 > DefaultSftpClient v4 'STAT' flags need to be initialized to 0xFFFF instead of > 0 > ------------------------------------------------------------------------------- > > Key: SSHD-423 > URL: https://issues.apache.org/jira/browse/SSHD-423 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 1.0.0, 0.14.0 > Reporter: Goldstein Lyor > Assignee: Guillaume Nodet > Priority: Minor > Fix For: 1.0.0 > > Attachments: > 0026-SSHD-423-DefaultSftpClient-v4-STAT-flags-need-to-be-.patch > > > According to the [Protocol draft - section 6.8 > |https://tools.ietf.org/html/draft-ietf-secsh-filexfer-03#section-6.8]: > {panel} > The flags field specify the attribute flags in which the client has > particular interest. > {panel} > The initialization to "0" basically says "not interested in anything", > whereas I believe the _DefaultSftpClient_ actually means to say "give me all > the attributes you can" - especially for the _'stat'_ command whose very > essence is querying about _Attributes_. The reason I marked this bug as > _minor_ is because this feature is not yet supported, and the *current* code > returns all the available attributes. However, if / when support for this > feature will be added, a bug will occur when the _DefaultSftpClient_ is used > because of the initialization to "0". -- This message was sent by Atlassian JIRA (v6.3.4#6332)