[
https://issues.apache.org/jira/browse/FTPSERVER-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Blaine Simpson reopened FTPSERVER-427:
--------------------------------------
Niklas is wrong.
The file is "users.properties", not "user.properties".
I checked every "users.properties" in both source and binary distributions
before I filed this bug. I took the anonymous account settings in those files
and changed just the user name from "anonymous" to "ftp". Of course that
doesn't work because there is no configuration there that in any way specifies
special anonymous handling (where any password works for the specified account).
As you can easily see in the source code, especially "PASS.java", there is
special, magic handling when user name is "anonymous". With the anonymous
feature enabled, if I set password to "" for user with name "anonymous", any
password satisfies. If I set password to "" for "ftp" or any other user, then
only the empty password satisfies.
As my original ticket explains, "ftp" as an alias for the special "anonymous"
account has been standard for FTP servers for the 25 years. Can FtpServer
follow the tradition please?
> Support 'anonymous' account alias 'ftp', like every other good FTP server does
> ------------------------------------------------------------------------------
>
> Key: FTPSERVER-427
> URL: https://issues.apache.org/jira/browse/FTPSERVER-427
> Project: FtpServer
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0.6
> Reporter: Blaine Simpson
> Assignee: Niklas Gustavsson
> Labels: anonymous, ftp
>
> Per http://www.faqs.org/faqs/ftp-list/faq/:
> This permits you to log in with the user name 'anonymous' or the user name
> 'ftp'.
> But really, just access any popular anonymous FTP server and log in with
> account "ftp", and you will see that "ftp" is an alias for "anonymous" (but
> much easier to type).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira