Documentation

disk.folder.copyto

disk.folder.copyto

Copies folder to the specified folder.

The response contains the same structure as in disk.folder.get.

Parameters

Parameter Description
id Folder ID.
targetFolderId Folder ID.

Example

BX24.callMethod(
		"disk.folder.copyto",
		{
			id: 8,
			targetFolderId: 22081990
		},
		function (result)
		{
			if (result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
);



© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021