|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.SiteCommandHandler
public class SiteCommandHandler
Handle ftp site command.
Field Summary | |
---|---|
protected static Class[] |
INPUT_SIG
|
Constructor Summary | |
---|---|
SiteCommandHandler(FtpConfig cfg,
FtpUser user)
Constructor - set the configuration object |
Method Summary | |
---|---|
String |
doADDIP(String[] args,
FtpRequest cmd)
Add banned IP |
String |
doADDUSER(String[] args,
FtpRequest cmd)
Add user |
String |
doDELIP(String[] args,
FtpRequest cmd)
Add banned IP |
String |
doDELUSER(String[] args,
FtpRequest cmd)
Delete user from repository. |
String |
doDESCUSER(String[] args,
FtpRequest cmd)
Describe user. |
String |
doHELP(String[] args,
FtpRequest cmd)
Display site help. |
String |
doKICK(String[] args,
FtpRequest cmd)
Disconnect ftp connections |
String |
doLISTIP(String[] args,
FtpRequest cmd)
List all banned IPs. |
String |
doLISTUSER(String[] args,
FtpRequest cmd)
List all the users. |
String |
doSETATTR(String[] args,
FtpRequest cmd)
Delete user from repository. |
String |
doSTAT(String[] args,
FtpRequest cmd)
Delete user from repository. |
String |
doWHO(String[] args,
FtpRequest cmd)
Display all connected users. |
String |
getResponse(FtpRequest request)
Handle site. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Class[] INPUT_SIG
Constructor Detail |
---|
public SiteCommandHandler(FtpConfig cfg, FtpUser user)
Method Detail |
---|
public String getResponse(FtpRequest request)
public String doADDIP(String[] args, FtpRequest cmd)
public String doADDUSER(String[] args, FtpRequest cmd)
public String doDELIP(String[] args, FtpRequest cmd)
public String doDELUSER(String[] args, FtpRequest cmd)
public String doDESCUSER(String[] args, FtpRequest cmd)
public String doHELP(String[] args, FtpRequest cmd)
public String doKICK(String[] args, FtpRequest cmd)
public String doLISTIP(String[] args, FtpRequest cmd)
public String doLISTUSER(String[] args, FtpRequest cmd)
public String doSETATTR(String[] args, FtpRequest cmd)
public String doSTAT(String[] args, FtpRequest cmd)
public String doWHO(String[] args, FtpRequest cmd)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |