Movedigital.files.moveFile

From MoveDigital Docs

Table of contents

Arguments

Calls are POSTed to http://www.movedigital.com/services/rest/ and should include the following arguments

  • method (required) - Must be set to: movedigital.files.moveFile
  • userid (required) - The userid of the MoveDigital account.
  • sessionid (required) - The sessionid for the current session.
  • session (required) - The session value for the associated sessionid.
  • fileid (required) - The fileid you wish to move.
  • folderid (required) - The destination folderid where the file should be moved.

Example Responses

  • Success
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
	<method>movedigital.files.moveFile</method>
	<format>rest</format>
	<messages>
		<message msg="Successfully moved file." />
	</messages>
</rsp>
  • Error
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
	<method>movedigital.files.moveFile</method>
	<errors>
		<error code="85" msg="Cannot move this file while its in a torrent." />
	</errors>
</rsp>

Error Codes

  • 82 - Filename collision.
  • 83 - File not found.
  • 84 - Folder not found.
  • 85 - Action denied while in torrent.
  • 98 - Insufficient permissions.
  • 99 - User not signed in.
  • 108 - Internal error.
  • 109 - Service is currently unavailable.

Live REST Demo

Navigation