mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Johansson <fri.radi...@gmail.com>
Subject [SSHD] SFTP does not support v3
Date Thu, 29 Jul 2010 14:10:41 GMT

The current SFTP implementation in SSHD does not support v3 (Section
7) of the standard which the widely used JSch client currently only
support. The issue is in section 9.3 of the v6 standard:

"9.3.  Data Response

   The SSH_FXP_DATA response has the following format:

       byte   SSH_FXP_DATA
       uint32 request-id
       string data
       bool   end-of-file [optional]"

The last byte end-of-file corrupts the datastream when used with the
JSch client and since it's optional I would like to disable/remove it
from the SSHD code to support more clients. What do you think?


[Version 3]
SSH File Transfer Protocol, Draft 02, October 2001 -

[Version 6]
SSH File Transfer Protocol, Draft 13, July 2006 -


  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message