[jcifs] How to get size of file share on Lan?

Michael B Allen mba2000 at ioplex.com
Fri Aug 13 06:18:15 GMT 2004


On Thu, 12 Aug 2004 20:09:44 +0000 (UTC)
haivmk <haivmk2007 at yahoo.com> wrote:

> Hi,
> How to get size of file share on Lan?

Oo, oo, easy. I know this one.

  (new SmbFile("smb://server/share/")).length();

There's also a getDiskFreeSpace() method.

Mike

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


More information about the jcifs mailing list