[xwiki-users] Send something by FTP in a space
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 ? Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Send something by FTP in a space
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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Send something by FTP in a space
On Feb 11, 2009, at 9:41 AM, Vincent Massol wrote: 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 Forgot WebDAV too. You can probably FTP to a webDAV mount which means the files you upload will directly find their way as attachments. -Vincent 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 Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Send something by FTP in a space
Le mercredi 11 février 2009, Vincent Massol a écrit : XWiki supports several remote access protocols: * XMLRPC * REST * HTTP uploads Why don't you use one of these? That would be the simplest. Why not, but how I do that with Ant ? 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. I don't need a scheduler, because I know when I send my files. I need an Ant task (again) to active the groovy xwiki script from my computer. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users