On Sat, 18 Dec 2004 00:34:50 +0200, Roman D <[EMAIL PROTECTED]> wrote:
> With WCK store implementation, when file is renamed, it looks like file
> is downloaded and then uploaded under new name.

It depends on what interfaces you implement. If you just implement the
ordinary interface upon rename ad file is copied and the original is
removed afterwards. If you implement the additional interface (works
with CVS head = upcoming 2.2 only) WebdavStoreMacroMoveExtension it
will be done directly. Have a look at the reference implementation for
details.

> First getResourceContent() for current file name is called then
> createResource() and setResourceContent() is called.
> Is it WCK - specific or any WebDav implementation will have client GET
> and then PUT same file just to rename/move it ?
> What if it's 100MB file? transfer same 100MB back and forth just to
> rename the resource?

As explained above nothing is transferred, no PUT and no GET is involved.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to