2011/10/23 林迪生 <disheng2...@hotmail.com>: > I used the > FtpServer as an embedded ftp server in my spring auction application. > Everything is fine except after adding a user in the user.properites . I add > a user by using the ProperitesManager and I found that if I don't restart the > application the new account won't work. My question is how > I can add a user without restart the ftp server because the functions > relate to the ftpserver is just a small part. I don’t want to restart the > whole > application just because of adding a new ftp account.
The out-of-the-box user manager does not support reloading. But, you could fairly simple write your own user manager that does. > By the way, > if there any linux / windows commands to restart the embedded ftpserver after > adding a user without restart the whole application? If your embedding FtpServer, you can just recreate it in your code whenever your want to restart it. /niklas