@vlad59:
Yours is the perfect solution if you have Owncloud and COPS on the same server. However i got the impression that darkmiss is using an Owncloud on a (remote) server and has COPS installed "locally".

I have problems uploading directories (with or without content) to my Owncloud. Single files are ok. I really have to read the documentation and/or upgrade to a newer version of Owncloud. But that is for when I put together a new Linux server.