Hi,

   +-From: Bradley Wagner <[email protected]> --
   |_Date: Thu, 19 Aug 2010 18:07:58 -0400 _________________
   |
   |Specifically, this is happening when connecting to a Titan FTP server.
   |I was able to determine that there appear to be different responses
   |depending what is passed to "ls". For example, if neither "files" nor
   |"files/js" directories exist, then ls("files/js") gives: "10: No such
   |path"and the stacktrace below.

   |However, if you just do ls("files"), you'll get a response code of 2
   |which ChannelSftp calls SSH_FX_NO_SUCH_FILE. Is this response code of
   |10 even a valid SFTP response code?

According to 
  http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13
the response code 10 is valid.  At section "9.1 Status Response",
that document says as follows,

Error Codes:
  ...
  SSH_FX_NO_SUCH_PATH                  10
  ...
  SSH_FX_NO_SUCH_PATH
      The file path does not exist or is invalid.

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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to