Get Directory Quota

I know there are some winapi functions that can get the capacity of the drive itself, but in situations where the user has a fixed directory quota, how exactly would I check this with MFC?
steenpatAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
It's not really straightfoward as one would expect - take a look at http://www.codeproject.com/KB/system/DiskQuota.aspx ("Reading quota information on an NTFS volume"), this article comes with full source code.
0
 
steenpatAuthor Commented:
I'm not sure if this is going to work or not. Say for instance they are running novell and the user wants to copy his files to a directory that is quota limited by the server. will it treat this directory as an ntfs volume? i'm kind of confused about that.
0
 
jkrCommented:
That should be covered transparently by the underlying software layer which manages the network connection itself.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.