Hi,

My English it's so bad, bat let me try:

In the application where I'm work, I try to migrate from jsch-0.1.34.jar to
jsch-0.1.37.jar but when a list de content off a empty directory, that give
me this error:
Problem listing contents of directory: /saidas, cause: 2: No such file:
/saidas/*.

How to resolve this?


The code:

...

 private ChannelSftp _channel;

...

try {

      Vector listagem = _channel.ls(remoteDir + "/*");

      return filterDirListForNames(listagem);

    } catch (SftpException badListX) {

      throw new SSHException("Problem listing contents of directory: "
+ remoteDir, badListX);

            }

      }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to