XG Productions wrote:
Hi,

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

You're English is not so bad, well a few mistakes ;) but understandable. Wish I was that good with another language...

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/*.
Try without the *

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

i.e. try Vector listagem = _channel.ls(remoteDir + "/");

*unless you want a file called "*"*

--
M
-------------------------------------------------------------------------
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