copy_sync
Description:
public bool copy_sync (string source_uri, string destination_uri, string depth, bool can_overwrite, Cancellable? cancellable = null) throws Error
Copies a resource identified by source_uri to destination_uri on the server.
The source_uri can reference also collections, in which case the depth influences whether only the collection itself
is copied (%E_WEBDAV_DEPTH_THIS) or whether the collection with all its children is copied (%E_WEBDAV_DEPTH_INFINITY).
Parameters:
| this | |
| source_uri |
URI of the resource or collection to copy |
| destination_uri |
URI of the destination |
| depth |
requested depth, can be one of WEBDAV_DEPTH_THIS or WEBDAV_DEPTH_INFINITY |
| can_overwrite |
whether can overwrite |
| cancellable |
optional Cancellable object, or |
Returns:
|
Whether succeeded. |