Movedigital.files.replaceFile
From MoveDigital Docs
| Table of contents |
[edit]
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.replaceFile
- 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 to replace.
- fileidreplace (required) - The fileid of replacement file.
[edit]
Example Responses
- Success
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <method>movedigital.files.replaceFile</method> <format>rest</format> <messages> <message msg="Successfully replaced file." /> </messages> </rsp>
- Error
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="fail"> <method>movedigital.files.replaceFile</method> <errors> <error code="85" msg="Cannot replace this file while its in a torrent." /> </errors> </rsp>
[edit]
Error Codes
- 81 - Storage quota exceeded.
- 82 - Filename collision.
- 83 - File not found.
- 85 - Action denied while in torrent.
- 94 - Action denied while in mobile stream.
- 98 - Insufficient permissions.
- 99 - User not signed in.
- 108 - Internal error.
- 109 - Service is currently unavailable.
[edit]

