RestoreTrash

Restores a file/folder from trash.

Authentication Methods


  • User Authentication
Input Parameter Type Description
Token* String Security token
FileserverName* String Fileserver name
Path* String Path to a directory or file
NewPath* String Full path to where the file will be saved
Output Parameter Type Description
Success Status Returns status code

*=required

CURL EXAMPLE

curl -v 'https://storage.example.com/storage/api.php?Token=aoa8atgb9tqb2lupq508v9ka30&Task=RestoreTrash&Path=/trashfolder/myfile.txt&OriginalPath=/mydirectory/myfile.txt&FileserverName=nmsa000177'

Response:

<Response>
    <Status>1</Status>
    <Message></Message>
</Response>