MoveResource Method
Moves a resource.
Object Oriented Interface
public function doMoveResource($fromresource, $toresourcepath);
Procedural Interface
ipworkscloud_dropbox_do_moveresource($res, $fromresource, $toresourcepath);
Remarks
This method moves the resource FromResource to a new path ToResourcePath.
FromResource must be a path, an Id-based relative path, or a resource Id. ToResourcePath must be a path or an Id-based relative path (it must always end with the name of the file/folder resource being moved).
The AllowOwnershipTransfers configuration setting must be enabled before calling this method if a move operation would result in the current user transferring their ownership to another user (or to a team).
The RenameIfExists configuration setting may be enabled before calling this method to have the server automatically resolve naming conflicts.