[jcifs] SmbFile.listFiles() AS400
Michael B Allen
mba2000 at ioplex.com
Thu Aug 3 16:37:29 GMT 2006
On Thu, 3 Aug 2006 09:35:37 +0000 (UTC)
Max <max40 at gmx.de> wrote:
> 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
Never heard this one before. The only way to figure out what's happening
with any efficiency is to get a capture of Windows listing the directory
and a capture of jCIFS listing the directory. Then we can compare.
http://jcifs.samba.org/capture.html
Mike
--
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/
More information about the jcifs
mailing list