Hi
Tony Zhou wrote:
Hi,
I am using the latest release downloaded from the apache ftp
site. One bug in it is that, in the messagePanel, the ftp status messages
cannot be properly saved. The svn version seems to have this problem as
well. To solve this problem, in the source code,
org.apache.ftpserver.gui.MessagePanel, around line 222,
String key = (String)comboBox.getSelectedItem();
should be changed to:
String key = list.getSelectedValue().toString();
Fix applied, thanks!
Meanwhile, I'd suggest the ftp should add the following config for the
user account on the User panel, which are quite common in modern ftp
servers:
- max connections for the user (currently only anonymous' max
connections can be set)
- max logins from same IP address.
These modifications should be relatively straightforward since only
User interface/impl and ConnectionManager are involved. How do you think
about it?
I agree that this is very reasonable configurations. If you got a patch
for the functionality, that would be great! I've added a JIRA issue
where a patch would be much appreciated, or otherwise I'll have a look
at it later:
https://issues.apache.org/jira/browse/FTPSERVER-47
/niklas