Re: Apache FtpServer doubts

2013-09-16 Thread David Hoffer
I'm interested in the VFS...I wasn't aware of that...can you point me to info on that? For an app I have I'd like an in memory file system. Thanks, -Dave On Sun, Sep 15, 2013 at 11:26 PM, Sam Mizanin sammyuglykid...@yahoo.comwrote: Salvador, The Apache Ftpserver is pretty robust and

Re: Apache FtpServer doubts

2013-09-16 Thread David Hoffer
Okay...I started down that path but found it was going to be a fairly involved task...I was wondering if maybe someone had an implementation in the public domain or possibly as part of FTPServer code base. -Dave On Mon, Sep 16, 2013 at 6:33 AM, John Hartnup john.hart...@gmail.comwrote: Write

Re: Apache FtpServer doubts

2013-09-16 Thread John Hartnup
Well, NativeFilesystem etc. are one implementation that's in the FTPServer code base. It's not a particularly involved task. There are lots of methods, but most of them will have very short implementations (isReadable(), isWritable() etc.) What goes into the implementation depends on what you

Re: Apache FtpServer doubts

2013-09-16 Thread David Hoffer
In my case I wanted a virtual file system that was event based, e.g. when file was received it would fire event with data (name plus byte array). I got the events/notification working fine...just didn't have time to implement the VFS. For now I just read the byes from the native file system and

Re: Apache FtpServer doubts

2013-09-16 Thread David Hoffer
Frank, thanks for the heads-up...I'll definitely have a look at that. -Dave On Mon, Sep 16, 2013 at 7:53 AM, Frank van der Kleij kl...@hotmail.comwrote: I did this VFS integration for Apache FTP server a while ago but I haven't looked at it for almost two years now:

Re: Apache FtpServer doubts

2013-09-16 Thread Sam Mizanin
Dave, Both VFS and your custom FileSystemView is fairly simple to embed/implement. In-fact I prefer having a custom FileSystemView as it lets me control the files/folders and the way we show it. You just have to create your own FileSystemView and pass it to FtpServerFactory so that it handles