[jcifs] SmbFile.listFiles() AS400

Max max40 at gmx.de
Thu Aug 3 09:35:37 GMT 2006


I have in a directory 5 files. 
If I get the list, I have a listsize of 25.
Each file occurs 5 times.

Program is called on the PC!
The server is a AS400/iSeries!

Why?


sample code:

SmbFile f = new SmbFile("smb://*User*:*Passwd*@*Server-IP*/subdir1/subdir2/");
SmbFile[] list = f.listFiles();
int len = list.length;            // len = 25






More information about the jcifs mailing list