Hi,

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?


References:

[Version 3]
SSH File Transfer Protocol, Draft 02, October 2001 -
http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02

[Version 6]
SSH File Transfer Protocol, Draft 13, July 2006 -
http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13


//Andreas

Reply via email to