addQuota

Adds a directory quota.

Request

<directoryQuotas>
   <addQuota>
      <fileName/>
      <nameSpace/>
      <quotaAmount/>
   </addQuota>
   <symlink/>
</directoryQuotas>

Reply

<directoryQuotas>
   <addQuota>
      <result value=" ">
         <description/>
      </result>
   </addQuota>
</directoryQuotas>

Elements

fileName

Specifies the path name of the directory where the quota is to be set.

nameSpace

Specifies the name space of the file. nameSpace is an optional tag and is required only when the file name is specified as NSS path.

quotaAmount

Specifies the size of the quota (in bytes).

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the result.

(Optional) symLink

Specifies not to follow the link.

NOTE:If the quota value is not assigned to the directory, 9223372036854775807 is returned. This value means quota is not set for the directory.