[jcifs] jCIFS and File system (folder) quotas
Michael B Allen
ioplex at gmail.com
Tue Oct 18 13:39:11 MDT 2011
On Tue, Oct 18, 2011 at 3:11 PM, Marina <marusya1004 at gmail.com> wrote:
> Hi All,
>
>
>
> I am looking for the method within jCIFS library that handles File System
> (folder) quotas. I checked the jCIFS API documentation on the site but
> didn’t find anything specific.
>
> Our development is based on Java 1.3 SDK otherwise, for this purpose we
> would use java.io.File.getUsableSpace() method available only in Java 1.6
> SDK.
>
> Would you please let me know if such method (returning folder quota for the
> specific path) exists inside jCIFS?
Hi Marina,
It so happens that such a method does exist. See
jcifs.smb.SmbFile.getDiskFreeSpace().
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
More information about the jCIFS
mailing list