Hi Mike

Mike McGonagle wrote:
I did the initial installation, and when I test it out, I am able to
connect to the ftp server from any machine within my local network.
(This is with using the default Properties files, with all of the
items commented out).

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?

I hate to say it, but the documentation on these settings is a little
thin, as to what data is expected to be entered here.

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

Is there some easy what to tell where all the parameters are defined
in the source code, so that one would read the source to try and
figure out what is expected for that parameter?

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.

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

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.

/niklas

Reply via email to