Ok, thanks a lot, i will have a look at cocoon wiki !

Geoff Howard a écrit :
> 
> I see.  The server itself has access to a webdav folder on a third
> machine.  As
> far as I know, there will not be a way to automatically handle this because
> cocoon's uploads are using java.io.File to automatically save files and I
> don't think this will work saving to a webdav folder, which as I understand it
> is not a folder at all, but a pointer to a url using the http protocol.  If
> your
> particular server and webdav implementation happen to support it though
> you'll be
> in luck but it would be as easy as specifying whatever file path in web.xml
> you use
> for the local webdav "folder" on the server.
> 
> If that doesn't work as I suspect, you'll need to write an action to get the
> FilePart out of the request, call getInputStream and send that input stream
> over http to the webdav location.
> 
> See: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadWithAction and
> http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon
> 
> for more information on the process up to and including getting the input
> stream.
> 
> You may also get info from WebServiceProxyGenerator and/or HTTPProxyGenerator
> 
> Beyond that though, I'll not be much help.  You may want to repost a new
> question focused on how to send input stream to a webdav repository on another
> server from within an action.
> 
> Geoff Howard
> 

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

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

Reply via email to