summaryrefslogtreecommitdiff
path: root/MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy')
-rw-r--r--MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy3
1 files changed, 2 insertions, 1 deletions
diff --git a/MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy b/MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy
index 68e5403..e0c88cc 100644
--- a/MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy
+++ b/MockFtpServer/src/main/groovy/org/mockftpserver/fake/server/FakeFtpServer.groovy
@@ -41,6 +41,7 @@ class FakeFtpServer extends AbstractFtpServer implements ServerConfiguration {
Map helpText = [:]
FakeFtpServer() {
+ setCommandHandler(CommandNames.ACCT, new AcctCommandHandler())
setCommandHandler(CommandNames.ABOR, new AborCommandHandler())
setCommandHandler(CommandNames.ALLO, new AlloCommandHandler())
setCommandHandler(CommandNames.APPE, new AppeCommandHandler())
@@ -87,7 +88,7 @@ class FakeFtpServer extends AbstractFtpServer implements ServerConfiguration {
}
/**
- * @return the {@link UserAccount} configured for this server for the specified user name
+ * @return the {@link UserAccount} configured for this server for the specified user name
*/
public UserAccount getUserAccount(String username) {
userAccounts[username]