[jcifs] Issue: hidden children omitted from folder content list
Julian Reschke
julian.reschke at gmx.de
Wed Feb 4 22:50:34 GMT 2004
Michael B Allen wrote:
> Julian Reschke said:
>
>> smb.setAttributes(smb.getAttributes() | smb.ATTR_HIDDEN);
>>
>> System.out.println("folder child count: " + folder.list().length);
>> }
>>
>>yields:
>>
>>folder child count: 0
>
>
> This is by design. Hidden files are hidden so ... there hidden. You will
> need to use SmbFileFilter to indicate all file types should be returned.
Well, it's another incompatibility to java.io.File. If this is by
design, please note it in the documentation.
Regards, Julian
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
More information about the jcifs
mailing list