Re: jCIFS and File system (folder) quotas
Michael B Allen <[email protected]>
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <CAGMFw4jEh0QJUPt0Q1cP6GsHMSj7DVrtV1UuJfwMhh-gE_1e-w@mail.gmail.com> |
On Tue, Oct 18, 2011 at 3:11 PM, Marina <[email protected]> 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/