[ 
https://issues.apache.org/jira/browse/FTPSERVER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648561#action_12648561
 ] 

Gary Bell commented on FTPSERVER-205:
-------------------------------------

Ok, FTPSERVER-218 added a refresh() method to the PropertiesUserManager, so now 
you can use that.

https://issues.apache.org/jira/browse/FTPSERVER-218

=== Snippet from onSite() method call === 
String cmd = request.getArgument().toUpperCase();
if ("UPDATE ACCTS".equals(cmd)) {
// admin has hand-edited the user file and wants to let the server know...

((PropertiesUserManager) server.getUserManager()).refresh(); //server is an 
instance of DefaultFtpServer created earlier..
return FtpletResult.SKIP; // prevent further processing.
=====================================

> missing user management docs
> ----------------------------
>
>                 Key: FTPSERVER-205
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-205
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M3
>            Reporter: Amichai Rothman
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M4
>
>
> There is no mention in the docs of how to manage users (i.e. add new ones, 
> etc.). There's one page which mentions the admin GUI app which is not 
> available in the distribution (see issue FTPSERVER-201). As a new user on a 
> new installation, I could not find the mechanism by which I can add and 
> administer users on the server, which makes it pretty much unusable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to