Hi Herve,

On Feb 11, 2009, at 9:01 AM, Hervé Agnoux wrote:

> Hi,
>
> I should want use XWiki as a platform to distribute java web start
> applications.
>
> I want some acces control : only register persons can get the jnlp  
> and jar
> file.
>
> I put the jars on the server by FTP with an ant task. I edit the  
> jnlp file on
> the server with vim (or KEdit, if the X server is ok).
>
> I don't want use the internal stuff in XWiki to edit or install  
> these files, I
> use xwiki only to control the acces and to make a presentation page  
> (ex :
> "Please clic here (here), it's my very good java application") of  
> the product.
>
> How is it possible to get the FTP transfert inside a xwiki context ?

XWiki supports several remote access protocols:
* XMLRPC
* REST
* HTTP uploads

Why don't you use one of these? That would be the simplest.

Another solution (but quite hacky) would be to use a groovy script to  
look for files in a given directory and "install" them somewhere in  
the wiki if found, and use the Scheduler to trigger this groovy script  
every few minutes.

Again this is hacky and way less better than using REST or XMLRPC for  
ex. which you can trigger using a crontab that does the same thing as  
the groovy script but outside of xwiki.

Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net






_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to