Folks, first off, let me both say I'm rather impressed by the feature set and usability provided by ftpserver already, and I want to apologize for coming to this list with such a (probably rather basic) question. However, possibly someone could set my thoughts on that free again.
Situation: I'm about to use ftpserver to build an FTP interface to our document management facility, which mainly is a DMS relying upon an SQL database and a filesystem. I do already have created a set of classes to encapsulate access to these structures which are do rather well. By now, I also managed to implement - User and UserManager to make people authenticate against the DMS user database, - FileSystemManager, FileSystemView and FileObject to correctly display information fetched from the database as "files", - some functionality to, in case someone actually wants to get a file (by now we're just talking about download...), the actual file or package is retrieved from the DMS and moved to some temporary place and returning an InputStream from it in FileObject.createInputStream(..). However, this is where it ends by now. I do see the file in my FTP client, but as soon as I try to "GET <filename>", I end with something like that: ftp> get JobD00000163.zip local: JobD00000163.zip remote: JobD00000163.zip 200 Command PORT okay. 550 JobD00000163.zip: No such file or directory. My question, by now: What else is required to make reachable for FTP GET? By now, I thought implementing createInputStream(..) should suffice doing so, and I don't see any other methods in FileObject that seem reasonable to use. Can anyone enlighten me? Many thanks in advance and kind regards, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser)
