Closed ndw closed 3 years ago
Suppose /tmp/x/copytest/a is a directory, but /tmp/x/result/copytest/a is a file. This request:
/tmp/x/copytest/a
/tmp/x/result/copytest/a
<p:file-copy href="/tmp/x/copytest/a" target="/tmp/x/result/copytest/a"/>
raises err:XC0157 (I believe). But does this request?
err:XC0157
<p:file-copy href="/tmp/x/copytest" target="/tmp/x/result"/>
I assume not. I assume that once you've started a recursive copy and you're doing overwrites, you just overwrite it.
I do not know, whether this is helpful, but the behaviour you described is exactly what I do.
Suppose
/tmp/x/copytest/a
is a directory, but/tmp/x/result/copytest/a
is a file. This request:raises
err:XC0157
(I believe). But does this request?I assume not. I assume that once you've started a recursive copy and you're doing overwrites, you just overwrite it.