Hello Niklas,

On 5/23/07, Niklas Gustavsson <[EMAIL PROTECTED]> wrote:
> But, when I uncomment the first block of items (the server socket
> factory configuration), the server will start up, but I am no longer
> able to connect, as the connections are being refused.

How old is the code you're using to build FtpServer? Or are you using
the binaries that was created a few years back?

Al the files that I got off the Website (the precomiled stuff) is
dated April 25, 2006. Guess I need to learn to compile this myself,
right? Is this version the latest and "greatest"? Or should I be
looking at compiling myself?

Also, are people primarily using this as an "embedded" server? Or are
is it being used as a "stand-alone" server? (That is how I want to use
it...)

Have a look at the new documentation. I agree it's definitely short, if
there is anything in particular your missing I'll be happy to try fix it :-)

http://incubator.apache.org/ftpserver/listeners.html

Thanks, I will have a look at this.

We should hopefully create a good enough documentation for you not to
have to read the source code to get there. Still, if we're not you can
probably find your way around based on the configuration names usually
mapping to an interface (like config.listener to Listner) and then to
one or more concrete implementations (like MinaListener). In the
concrete classes you'll probably find what your looking for.

Well, I have begun the process of dissecting the code, if not to learn
more about how this works, but also to figure out what the parameters
are, and what is expected for data.

Again, if there is anything specific your missing in the docs, I'll be
happy to try fix it.

Well, one thing that I would think might help would be a couple of
different examples of configurations. While I would think that they
wouldn't really differ all that much, it is frustrating to get it set
up, and have everything working (or at least you think it is working),
but no one is able to connect from outside of the router.

> Also, there doesn't seem to be any examples to follow for the
> listeners in the default parameter file.
 >
> Is it possible that these parameters have been changed, but the
> default ftpd.properties file has not been updated to reflect this? It
> appears that the docs refer to "config.listerers", while the default
> properties file uses "config.socket-factory", as these things use the
> same properties extensions.

The default files (both for properties and XML) should be up to date
with the latest configuration.

You'll also find some minimal examples at
http://incubator.apache.org/ftpserver/listeners.html.

Thanks.

Mike

Reply via email to