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).
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 |
Whether succeeded. |