[jcifs] Issue: hidden children omitted from folder content list

Michael B Allen mba2000 at ioplex.com
Wed Feb 4 20:19:19 GMT 2004


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.

Mike


More information about the jcifs mailing list