Thanks, got it running. Now i'm trying to make it look for files in a db table called FTPTEST. But no matter what I do it returns: Java.io.FileNotFoundException: res\home\kenneth (Access is denied)
I created a file from a blob and returned it in getFile(), but how am I supposed to make it LIST from the db? All I need atm is the ftp showing files in a single folder. No dir's needed. Anyone got a good idea how to do this? Kenneth -----Original Message----- From: Niklas Gustavsson [mailto:[email protected]] Sent: 19. mars 2010 14:43 To: [email protected] Subject: Re: LIST from database On Fri, Mar 19, 2010 at 11:42 AM, David Latorre <[email protected]> wrote: > You should create your own FileSystemFactory and set it in the > DefaultFtpServerContext like this: > context.setFileSystemManager(filesystemFactory); Or you can set it on the FtpServerFactory. Or, you can configure it as a bean in the Spring config. /niklas
