Hi, we ran into an issue today where we were getting back an
unexpected response code from the ChannelSftp.ls command:
Caused by: 10: No such path.
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2289)
at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:1741)
at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:1758)
at com.jcraft.jsch.ChannelSftp.ls(ChannelSftp.java:1196)
at
com.hannonhill.cascade.model.publish.transmit.SFTPShuttle.mkdirIfNecessary(SFTPShuttle.java:378)
... 13 more
We were depending on getting back ChannelSftp.SSH_FX_NO_SUCH_FILE when
the file/directory didn't exist.
I looked for both the error code and message in the ChannelSftp class
and could find neither.
Any ideas?
Thanks,
Bradley
------------------------------------------------------------------------------
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