Move File

Summary Copies a file to the target folder
Request https://www.digitalbucket.net/api/rest/copyfile.axd?fileid=bd64d349-d584-45f3-a0fb-287bcb66fb34&targetfolderid=64
Method POST
Parameters fileid (id of the file you want to copy), targetfolderid (id of the folder you want to copy the file to)

Success

<Success>
  <Code>25</Code>
  <Message>file copied successfully.</Message>
</Success>

Error

<Error>
  <Code>-208</Code>
  <Message>You are not allowed to copy this file.</Message>
</Error>
<Error>
  <Code>-209</Code>
  <Message>You do not have the required permission to copy this file.</Message>
</Error>
<Error>
  <Code>-210</Code>
  <Message>Your plan does not allow copying files and folders.</Message>
</Error>
<Error>
  <Code>-230</Code>
  <Message>Cannot copy a file to this type of folder.</Message>
</Error>
<Error>
  <Code>-231</Code>
  <Message>[filename] is not an image and cannot be copied to a photo album.</Message>
</Error>
<Error>
  <Code>-232</Code>
  <Message>[targetfoldername] already contains a file named [filename]."</Message>
</Error>

- For other errors refer to the list of Common Errors.