Storage: File Management: copy
Copy
Authentication Methods
- With a username and password
Input Parameter | Type | Description |
---|---|---|
Token | String | Security token |
FileServer | String | FileServer name |
OldPath | String | File or Folder to copy |
NewPath | String | New File or Foldername |
Asynchronously | String | true or false. Be aware that large files may cause a timeout if not set true |
Output Parameter | Type | Description |
--- | --- | --- |
Success | Boolean | True on success, False on failure |
EXAMPLES
curl 'https://storage.example.com/storage/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=copy&FileserverName=nmsa000001&OldPath=FilePath&NewPath=newpath'
RESPONSE
<Response>
<Status>1</Status>
<Message></Message>
</Response>