Storage: File Management: CheckDownloadAsZip
Check download as zip status
Checks the status of the asynchronious download as zip task started with the StartDownloadAsZip api call.
The status the api call returns can be:
- Processing
- Failed
- Finished
Once finished, the zip file can be download with the DownloadAsZip API call
Input Parameter | Type | Description |
---|---|---|
Token | String | Security token |
FileServerName | String | FileServer name |
ID | String | Identifier returned by the StartDownloadAsZip api call |
Response | Type | Description |
---|---|---|
Status | String | Status of the zip generation |
CURL EXAMPLE
curl -v 'http://storage.example.com/storage/api.php?Token=fmtee0i5mqriisml2t1rrfs2h0&Task=CheckDownloadAsZip&FileserverName=nmsa000010&ID=d9624539-89e4-754d-1f98-6a627ce89006'
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
<ZipStatus>Finished</ZipStatus>
</Response>