You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Reza Safari <r....@lukkien.com> on 2009/03/20 12:11:11 UTC
Virtual directory
Hello,
Have one question:
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.
Thanx,
--
Reza Safari
LUKKIEN
Copernicuslaan 15
6716 BM Ede
The Netherlands
---------------------------------------------
http://www.lukkien.com
t: +31 (0) 318 698000
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.
Re: Virtual directory
Posted by David Latorre <dv...@gmail.com>.
2009/3/23 Ashish <pa...@gmail.com>
> David,
>
> Added the VFS Bridge project as part of related projects on wiki.
> was supposed to do it earlier:-(
> - ashish
>
Yeah I couldn't find it so I had to google for it. Thanks a lot Ashish! I
would have added it myself but I can't edit the wiki pages.
>
> On Mon, Mar 23, 2009 at 1:44 PM, David Latorre <dv...@gmail.com> wrote:
> > 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 <ni...@protocol7.com>
> >
> >> On Fri, Mar 20, 2009 at 12:11 PM, Reza Safari <r....@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
> >>
> >
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>
Re: Virtual directory
Posted by Ashish <pa...@gmail.com>.
David,
Added the VFS Bridge project as part of related projects on wiki.
was supposed to do it earlier:-(
- ashish
On Mon, Mar 23, 2009 at 1:44 PM, David Latorre <dv...@gmail.com> wrote:
> 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 <ni...@protocol7.com>
>
>> On Fri, Mar 20, 2009 at 12:11 PM, Reza Safari <r....@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
>>
>
--
thanks
ashish
Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal
Re: Virtual directory
Posted by David Latorre <dv...@gmail.com>.
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 <ni...@protocol7.com>
> On Fri, Mar 20, 2009 at 12:11 PM, Reza Safari <r....@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
>
Re: Virtual directory
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Mar 20, 2009 at 12:11 PM, Reza Safari <r....@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