[jboss-dev-forums] [Design of JBoss ESB] - Embedded FTP Server and FTP Clients

bill.burke@jboss.com do-not-reply at jboss.com
Sat Mar 17 11:39:41 EDT 2007


A couple of things:

I have integrated Apache's FTP Server into an embeddable SAR file.  It supports FTP and FTP over SSL and numerous ways to plug in user database as well as FTPLets.  For starters, I'd like to get permission to commit this and integrate it with the testsuite so that the testsuite can run out of the box rather than you having to manually start your own FTP server on your box, or having to use somebody elses.

Another thing I think we can do with this FTP server, is write an FTPLet so that  we can push Files to the ESB rather than having to poll it.  I don't know the FTPLet api enough yet, but I imagine it is even possible to hook into the stream as the remote client is ftpping the file.  This would allow the ESB to process FTP messages entirely in memory, quickly, and have all the efficiency of a stream.

Speaking of streaming, one of the difficiencies of the FTP listener is that it downloads the FTP file to the ESB's machine before processing the file.  This seems extremely inefficient and instead again, maybe we should offer streaming capability there as well.  The problem is the FTP Client we are using only supports downloading the file.  You can't "get" an InputStream.  I looked around a bit and the Jakarta Commons Net library allows you to get by InputStream.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029034#4029034

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029034



More information about the jboss-dev-forums mailing list