Re: [JSch-users] response code 10 to ChannelSftp.ls command
Status: Alpha
Brought to you by:
ymnk
|
From: <ym...@jc...> - 2010-08-23 14:46:58
|
Hi,
+-From: Bradley Wagner <bra...@ha...> --
|_Date: Mon, 23 Aug 2010 09:28:18 -0400 _________________
|
>> Error Codes:
>> ,A (B...
>> ,A (BSSH_FX_NO_SUCH_PATH ,A (B ,A (B ,A (B ,A (B ,A (B ,A (B ,A (B ,A (B ,A (B10
>> ,A (B...
>> ,A (BSSH_FX_NO_SUCH_PATH
>> ,A (B ,A (B ,A (BThe file path does not exist or is invalid.
|If that's the case, is there a reason that is not one of the listed
|response codes in ChannelSftp that begin with "SSH_FX_". I only see 0
|through 8.
The error code 9 and larger had been added since
http://tools.ietf.org/html/draft-ietf-secsh-filexfer-03
and that spec has defined the sftp protocol version 4.
JSch supports sftp protocol version 3, and OpenSSH's sftp also only supports version 3.
I think that sftpd(Titan FTP server) should not send such an error code(10) to
the sftp client, which does not support version 4.
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Skype callto://jcraft/
Twitter: @ymnk
|