ListQuarantine

ListQuarantine allows traversing the quarantine directory which contains files that contain a virus. The quarantine directory mirrors the fileserver; all files are put in the folder where they would have been on the actual fileserver.

Authentication Methods


  • With a username and password
Input Parameter Type Description
Token String Security token
FileServerName String FileServer name
Path String Path of the file/folder to list
Output Parameter Type Description
Success Status Returns status code

EXAMPLES

curl -v 'https://storage.example.com/storage/api.php?Token=ms28lbbsql627i3ftmoq2j00q2&Task=ListQuarantine&FileserverName=nmsa000001&Path=/'

RESPONSE

<?xml version="1.0" encoding="utf-8" ?>
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <FileInfos>
        <FileInfo>
            <Name>test.txt</Name>
            <Path>/</Path>
            <IsFolder>false</IsFolder>
            <LastModifiedDstamp>1262683582</LastModifiedDstamp>
            <Size>445</Size>
        </FileInfo>
        <FileInfo>
            <Name>test</Name>
            <Path>/</Path>
            <IsFolder>true</IsFolder>
            <LastModifiedDstamp>1262683582</LastModifiedDstamp> 
        </FileInfo>
    </FileInfos>
</Response>