Hi,
On Nov 13, 2012, at 10:24 PM, Richard June <
rolfanr...@gmail.com> wrote:
> I have a test setup at
webdav.oriontechnologysolutions.com
>
> I have attached my index.php file.
>
> If I run this with cadaver, it claims to succeed. but it actually fails
>
> cadaver
webdav.oriontechnologysolutions.com
> dav:/> move test
> test test.txt
> dav:/> move test.txt test.html
> Moving `/test.txt' to `/test.html': succeeded.
> dav:/> ls
> Listing collection `/': succeeded.
> Coll: test 0 Nov 13 15:23
> Untitled Document 1668 0 Oct 31 18:16
> test.txt 52 Oct 31 17:52
>
> I don't think it's a Nautilus specific issue here.
You're right.
I was under the assumption you were using the standard FS classes.
When a file or directory gets moved *within* the current directory, the setName() method is called.
In your index.php you are not doing anything with setName(). You must implement it.
Also note that there's a working default implementation in Sabre_DAV_FS_Directory and Sabre_DAV_FS_File.
Those may be better than than the classes you're using, unless your plan is to make further modifications.
Evert