DownloadTrash

Downloads a file from trash.

Authentication Methods


  1. With a username and password
  2. Using Kerberos
Input Parameter Type Description
Token String Security token
FileserverName String Fileserver name
Path String Path to a file in the trash directory
Output Parameter Type Description
Success Status Returns status code
CURL EXAMPLE
curl -v 'https://storage.example.com/storage/api.php?Token=ms28lbbsql627i3ftmoq2j00q2&Task=DownloadTrash&FileserverName=nmsa000002&Path=/mydirectory/myfile.txt'
RESPONSE

Normally you’ll receive the data, however in case of an error we return the following familiar format:

<Response>
    <Status>2001</Status>
    <Message></Message>
</Response>