Movedigital.upload.grabURL

From MoveDigital Docs

This method can be used to pull content into your account from a URL. You may only upload one file from a URL at a time.

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.upload.grabURL
  • 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.
  • url (required) - The URL of the file you wish to upload into your account.

Example Responses

  • Success
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
	<method>movedigital.upload.grabURL</method>
	<format>rest</format>
	<fileid>72</fileid>
	<filename>filename.mpg</filename>
	<folderid>1032</folderid>
	<foldername>foo-folder</foldername>
	<filevisibility>private</filevisibility>
	<fileurl>http://download.movedigital.com/foo/72/filename.mpg</fileurl>
	<fileinfourl>http://download.movedigital.com/foo/72</fileinfourl>
	<messages>
		<message msg="File successfully uploaded from URL." />
	</messages>
</rsp>
  • Error
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
	<method>movedigital.upload.postFile</method>
	<errors>
		<error code="99" msg="You are not signed in." />
	</errors>
</rsp>

Error Codes

  • 80 - Filesize was 0 bytes in length.
  • 81 - Storage quota exceeded.
  • 82 - Filename collision.
  • 89 - Bandwidth quota exceeded.
  • 98 - Insufficient permissions.
  • 99 - User not logged in.
  • 105 - Multiple file uploads detected.
  • 106 - Some data was missing or invalid.
  • 108 - Internal error.
  • 109 - Service is currently unavailable.
  • 110 - Upload failed.

Live REST Demo

Navigation