Hi,

we have WebDAV support in OpenOffice.org and you can use loadComponentFromURL directly with a http URL to your file. You don't need something special. If your WebDAV server requires authentication then you have to use an appropriate interaction handler. Don't ask me which interaction handler, i know that we have one that is perfect for typical use cases but i always forget the name. But of course you can implement your own interaction handler.

HTTPS is supported since OO.or 2.4

Juergen


iñaki alonso wrote:
I use the 2.4 versión of openOffice on windows, I like to modify a document
wich I have allocated in my webdav server.
I can open this document but only in read only mode. I like to do this with
macros. I include my code.
*

**Sub Main*
*dim docServidor as object*
*dim Dummy()*
*dim oDesktop as object*

*oDesktop = createUnoService("com.sun.star.frame.Desktop")*
*docServidor =  oDesktop.loadComponentFromURL("vnd.sun.star.webdav://
127.0.0.1/uploads/usuario1.ods", "_blank", 0, Dummy)*

*docServidor.store()*
*End Sub


*
Thanks and best regards.



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

Reply via email to