Hello Reza, As Niklas says, some people have already done that. If this was enough to fit your needs, you can take a look at http://vfs-utils.sourceforge.net/ftpserver/index.html <http://vfs-utils.sourceforge.net/ftpserver/index.html> which should allow you to use any commons VFS 'provider' for a filesystem
2009/3/22 Niklas Gustavsson <nik...@protocol7.com> > On Fri, Mar 20, 2009 at 12:11 PM, Reza Safari <r.saf...@lukkien.com> > wrote: > > Is it possible to create my own virtual directory with apache ftp server? > I > > don't have a file system or anything and I want to create my own > directory > > based on some logic, so that the client connected to my server will see a > > virtual directory instead of a real file system. > > Yes, this made possible since we have a pluggable file system. As long > as you can write an implementation for our file system interfaces, > your should be fine. There are several people who have already done > something similar, so they might be able to give you further advice if > you have more questions. > > /niklas >