Skip to main content
Skip table of contents

getStorage

The command returns the total discspace and the used discspace in the assetsdirectory. The information is returned using the Result sub-element storageInfo.

Input Parameters

Fields
Values
Description



Output

Fields
Values
Description
CommandgetStorageEcho of the command element name
Code
-1 
1
0 = success 
-1 = DTD Violation 
1 = Processing Error
totalDiscspaceA decimal numberTotal storage capacity of the assetsdirectory in bytes
freeDiscspaceA decimal numberAvailable space in the assetsdirectory in bytes

Processing Errors

  • "directory ....”  - some problem with the assetsdirectory"

Examples

Request

CODE
<getStorage/>

Response On Success

CODE
<Result Command="getStorage" Code="0">    
<StorageInfo totalDiscspace="...." freeDiscSpace="...." /> 
</Result>

Response On Failure

CODE
<Result Command="getStorage" Code="1">       
<Description>Directory '/assets': no such file or directory</Description>    
</Result>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.