2010/3/19 Kenneth Vanvik Hansen <[email protected]>: > I've got a custom ( looks very much like the native one atm) filesystem > implemented. Now I am wondering how to make the server use it. Figure I have > to call setFileSystem() in FileSystemFactory somehow. Help? :)
You should create your own FileSystemFactory and set it in the DefaultFtpServerContext like this: context.setFileSystemManager(filesystemFactory); > -----Original Message----- > From: Kenneth Vanvik Hansen [mailto:[email protected]] > Sent: 18. mars 2010 16:38 > To: [email protected] > Subject: RE: LIST from database > > Nice one. No rush :-) Would be nice with a heads up when/if you get it done. > > -----Original Message----- > From: Niklas Gustavsson [mailto:[email protected]] > Sent: 18. mars 2010 16:14 > To: [email protected] > Subject: Re: LIST from database > > On Thu, Mar 18, 2010 at 4:02 PM, Kenneth Vanvik Hansen <[email protected]> > wrote: >> Would be really nice. Have searched for info on it but can't say I've >> found any. I'm not sure how I'm supposed to start doing this so I >> might just go ahead with replacing the LIST command like my first idea > was. > > I will have a go at writing such an example implementation, but don't hold > your breath, it might take a few days or so. > > /niklas > > > >
