Re: Soft Quota/Hard Quota definition in jCIFS
Michael B Allen <[email protected]>
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <CAGMFw4gAO-ZgFTaOR3eTXHqKPM5SPEvLLEsRmxKyWWxDtwhggg@mail.gmail.com> |
On Wed, Nov 30, 2011 at 9:38 AM, Marianna Dorokhina <[email protected]> wrote: > Hello Mike, > > Thanks again for your help finding > jcifs.smb.SmbFile.getDiskFreeSpace() > method to get Folder Quota. > I was also wondering if there is a way > within jCIFS library to distinguish > between soft and hard quota. Hi Marianna, I don't know without digging. That method ultimately makes a Trans2QueryFSInformation call with info level SMB_FS_FULL_SIZE_INFORMATION. Look for a document called [MS-CIFS].pdf on Microsoft's website. It describes all of the possible bits of info you can retrieve. But assuming there is a command that retrieves the data of interest, you would have to add a new method like getDiskFreeSpace to actually perform the operation. Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/