On Tue, Nov 23, 2010 at 7:22 PM, Devendra Gera <[email protected]> wrote: > We are planning to implement an FTP Server for our content management > System. We have a web application at the moment where all the files and > folders (across multiple projects) are stored on a central NAS. The > access to the data for a user is controlled via the ACL code which is > developed in house. Now we want to be able to expose this data store (ie > files and folders) to users via an FTP layer and / or webdav layer.
For FTP, yes probably. > Would Apache FtpServer help us for this Job (atleast for the ftp part) ? > My concern is that we cannot expose the underlying NAS structure to the > end users and it has to be some sort of virtual filesystem. Does Apache > FtpServer support this? Any help would be greatly appreciated. Yes, FtpServer has a file system API. The default will simple expose a regular file system over FTP. However, you can plug in your own which might be able to provide the abstraction you need. Have a look at the following interfaces: https://svn.apache.org/repos/asf/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileSystemFactory.java https://svn.apache.org/repos/asf/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileSystemView.java https://svn.apache.org/repos/asf/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FtpFile.java /niklas
