Recursive Infinite Copies No Longer Supported
You can no longer use the WevDAV copy command to generate a recursive infinite copy in a B2C Commerce instance. When you use the command to copy a fileβs content into itself, the destination is excluded because it exists. Excluding the copy prevents a recursive infinite copy that fills the file system.
How: The WebDAV server differs in this case from the RFC 4918 protocol.
For example, attempting to execute a recursive copy of the following structure:
folder/path/content
folder/path/content/c1
folder/path/content/c2
cp folder/path/content --> folder/path/content/targetfolder
Results in:
folder/path/content
folder/path/content/c1
folder/path/content/c2
folder/path/content/targetfolder/c1
folder/path/content/targetfolder/c2
In this example, targetfolder doesnβt exist in the destination folder because it would create a recursive case.