Mv
Authentication Methods
- With a username and password
Input Parameter |
Type |
Description |
Token |
String |
Security token |
FileserverName |
String |
FileServer name NMSA |
OldPath[] |
String |
File or Folder to move |
NewPath |
String |
New File or Foldername |
TargetFileserverName |
String |
Target FileServername NMSA |
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=mv&FileserverName=nmsa57333033066&OldPath[]=/file_to_move.zip&NewPath=/file_to_move.zip.zip&TargetFileserverName=nmsa859887642320&Asynchronously=true'
RESPONSE
<?xml version="1.0" encoding="utf-8" ?>
<Response>
<Status>1</Status>
<Message>Success</Message>
<TaskStatus>Finished</TaskStatus>
</Response>