On 01/24/2011 11:10 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
I'm being asked to do a File Exchange application
in XWiki. Basically giving
the users the ability to upload and download files for each others use. My
first thought was to simply use different pages for collections and have
people use the built in file attachment stuff. However, I'm being told that
isn't intuitive enough, so I'm looking to do some sort of FTP like thing
where paths can be created and files uploaded to those paths to be later
downloaded by others.
I guess my question is, does anyone know of an existing app that does this,
or am I going to have to create this myself?
You can use WebDAV to access the wiki.
http://platform.xwiki.org/xwiki/bin/Features/WebDAV
You can do some custom UI on top of the basic attachment feature.
But note that the current attachment storage is not that memory
efficient, so it won't work well if the attachments are big. If you have
attachments less than 10-20 megabytes, that's OK, but bigger than that
requires a different approach. This will improve in the near future (3.0
/ 3.1 hopefully).
Another alternative is to implement the file exchange using another
system, maybe even plain old FTP, and only provide an UI for it in
XWiki. How exactly this can be done depends on the service you want to
use and what remote access APIs it provides.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/