[jcifs] smbfile.listFiles() for only directories

Michael B Allen mba2000 at ioplex.com
Tue Sep 14 18:13:41 GMT 2004


On Tue, 14 Sep 2004 08:28:26 -0600
"MacDermid, Kenny" <kenny.macdermid at abridean.com> wrote:

> Hello,
> 
> I'm looking for a way to have jcifs only list directories on a
> listFiles(). I was hoping that there might be a way to do this in the
> request passed across the network,

Use DosFileFilter("*", SmbFile.ATTR_DIRECTORY) with listFiles(filter).

-- 
Greedo shoots first? Not in my Star Wars.


More information about the jcifs mailing list