tomaswolf commented on issue #275: URL: https://github.com/apache/mina-sshd/issues/275#issuecomment-1327610522
>Probably the remote device runs a very old version of SFTP. [Prior to SFTP version 3](https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-09#section-12.4), the SSH_FXP_STATUS reply indeed didn't have the error message and language tag fields. Actually, it's a bit worse: the [very first of the SFTP v3 drafts](https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-00#section-7) also did not have these two fields yet. They appeared only in the [second SFTPv3 draft](https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-01#section-6). Therefore there may indeed be old servers that implement only that very early specification, and rightfully claim to implement SFTPv3 but not send these fields. In order to support such old SFTPv3 servers, an SFTP client _must_ treat the error message and language tag fields in SSH_FXP_STATUS as optional. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
