On Mon, Oct 13, 2008 at 9:21 PM, Sisk, Brad <[EMAIL PROTECTED]> wrote:
> However, I have no idea why-because I have provided FTPServer with no
> .properties file containing the correct usernames and passwords which
> Should be authenticated. In other words, how does FTPServer know?

It has likely created the default users by something calling
createDefaultUsers() on DefaultFtpServerContext. What version of
FtpServer are you using?

I'm about to remove this very feature, as it only cause confusion.

> If you want to add a new User to the list of valid users, and provide
> their password so FTPServer will accept their login---how do you do
> this?  Where do you register accepted users of FTPServer and their
> passwords?

If you're running in embedded mode you do this using the save method
on the user manager.

> Further, since passwords are stored as their hashes, do you have to
> explicitly supply the hashed (Md5) value?  If not, how do you supply the
> password?

If you edit the file by hand then yes, you have to hash them yourself.
If using the API you provide it using clear text.

Please get back here if you fail get anything of this working!

/niklas

Reply via email to