Hi Bernd,
Apache FTP has a FileSystem abstraction which is much more flexible then
the FtpLet API. You can implement this directly and it should serve your
needs.
Another option, however, which would also give you webdav
interoperability is to implement the milton (http://milton.ettrema.com)
resource interface and use the milton-ftp adapter for FTP access.
Cheers,
Brad
(author of Milton)
On 07/04/11 19:58, Bernd wrote:
Hi,
We are looking for an FTP server written in Java that allows us to
provide our own implementations of FTP commands, e.g. a LIST command
shouldn't return the listing of any real directory on the file system
but we want to create the reply on the fly based on content in a database.
Is it easy (or even possible) to do that with the Apache MINA FTP
server? First I thought FTPlet is what we are looking for but I didn't
find a method like onList() and the return values indicate FTPlet is for
a different use case.
If it can be done with the MINA FTP server, any pointer to the
appropriate part of the documentation would be greatly appreciated.
Thanks,
Bernd