Fileman::getdiskinfo
API Version: 2 - Click here for documentation
Description: Retrieve disk usage statistics about your account. These values will include your quota and the amount of disk space used by your cPanel account.
Returns:
<data>
<file_upload_max_bytes> The maximum file size, in bytes, you can upload via cPanel's File Manager.</file_upload_max_bytes>
<file_upload_must_leave_bytes> The amount of disk space, in bytes, that must be reserved to avoid quota issues due to file uploads.</file_upload_must_leave_bytes>
<file_upload_max_bytes_humansize> A string value that contains the amount of disk space, in a human recognizable format, that must be reserved to avoid issues due to file uploads. (e.g. 50 MB)</file_upload_max_bytes_humansize>
<file_upload_must_leave_bytes_humansize> The maximum file size you can upload via cPanel's File Manager, in a human readable format.</file_upload_must_leave_bytes_humansize>
<file_upload_remain_humansize> A string value that contains the remaining quota in a human readable format.</file_upload_remain_humansize>
<spaceused> The amount of disk space used in bytes.</spaceused>
<spacelimit> Your account's quota in bytes.</spacelimit>
<file_upload_remain> Your account's remaining file upload space in bytes.</file_upload_remain>
<spacelimit_humansize> A string value that contains your account's quota in a human readable format.</spacelimit_humansize>
<spaceremain_humansize> A string value that contains your account's remaining disk space in a human readable format.</spaceremain_humansize>
<spaceremain> A floating point variable that contains your account's remaining disk space in bytes.</spaceremain>
<spaceused_humansize> A string value that contains your account's remaining disk space in a human readable format.</spaceused_humansize>
</data>