Hi Mark,
Thank you for the explanation.
What should happen if by “copy directory, no-overwrite” one file inside of the destination directory already exists?
Should the whole command be canceled?
What if only the empty destination directory exists?
Regards,
Vitaly
From: orion-dev-bounces@xxxxxxxxxxx [mailto:orion-dev-bounces@xxxxxxxxxxx]
On Behalf Of Mark Macdonald
Sent: Freitag, 9. August 2013 18:13
To: Orion developer discussions
Subject: Re: [orion-dev] Another question about Server API / File API
Hi Vitaly,
Here are, taken from the Orion source code, the current values that can go into X-Create-Options. (This is not an exhaustive list: more options may be added in future, and implementations are required to ignore unrecognized options.)
Valid combinations are produced by taking one of either "copy" or "move", and optionally adding "no-overwrite". Hence the valid combinations are:
no-overwrite
-
move,no-overwrite (order doesn't matter)
Thanks for pointing out that these details were missing from the Server API docs. I have added them to the wiki.
|