Content
View differences
Updated by Andreas Pfohl almost 3 years ago
Create a new command coomand inside storages module.
Command should be able to copy file/folder to new location with overwrite option set or unset.
Link to the docs and rfc: [https://docs.nextcloud.com/server/latest/developer\_manual/client\_apis/WebDAV/basic.html#copying-files-and-folders-rfc4918](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/basic.html#copying-files-and-folders-rfc4918)
`Depth: 0` or `Depth: infinity` header tells server to copy folder only or folder with all its content.
Command should be able to copy file/folder to new location with overwrite option set or unset.
Link to the docs and rfc: [https://docs.nextcloud.com/server/latest/developer\_manual/client\_apis/WebDAV/basic.html#copying-files-and-folders-rfc4918](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/basic.html#copying-files-and-folders-rfc4918)
`Depth: 0` or `Depth: infinity` header tells server to copy folder only or folder with all its content.