• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1		------------------------------------------------------
2			StubFtpServer FTP Commands and CommandHandlers
3		------------------------------------------------------
4
5StubFtpServer - FTP Commands and CommandHandlers
6
7  The following table lists the main FTP server commands with their corresponding FTP client commands,
8  and the <<StubFtpServer>> <CommandHandler> classes that implements support for the FTP server command.
9  See the Javadoc for each <CommandHandler> class for information on how to customize its behavior
10  through configuration, as well as what command invocation data is available.
11
12*------------------------*------------------------*------------------------------------------*
13| <<FTP Server Command>> | <<FTP Client Command>> | <<CommandHandler Class(es)>>             |
14*------------------------*------------------------*------------------------------------------*
15| ABOR                   | --                     | AborCommandHandler                       |
16*------------------------*------------------------*------------------------------------------*
17| ACCT                   | --                     | AcctCommandHandler                       |
18*------------------------*------------------------*------------------------------------------*
19| ALLO                   | --                     | AlloCommandHandler                       |
20*------------------------*------------------------*------------------------------------------*
21| APPE                   | APPEND                 | AppeCommandHandler                       |
22*------------------------*------------------------*------------------------------------------*
23| CDUP                   | --                     | CdupCommandHandler                       |
24*------------------------*------------------------*------------------------------------------*
25| <CONNECT> (1)          | OPEN                   | ConnectCommandHandler                    |
26*------------------------*------------------------*------------------------------------------*
27| CWD                    | CD                     | CwdCommandHandler                        |
28*------------------------*------------------------*------------------------------------------*
29| DELE                   | DELETE                 | DeleCommandHandler                       |
30*------------------------*------------------------*------------------------------------------*
31| HELP                   | REMOTEHELP             | HelpCommandHandler                       |
32*------------------------*------------------------*------------------------------------------*
33| LIST                   | DIR / LS               | ListCommandHandler                       |
34*------------------------*------------------------*------------------------------------------*
35| MKD                    | MKDIR                  | MkdCommandHandler                        |
36*------------------------*------------------------*------------------------------------------*
37| MODE                   | --                     | ModeCommandHandler                       |
38*------------------------*------------------------*------------------------------------------*
39| NLST                   | --                     | NlstCommandHandler                       |
40*------------------------*------------------------*------------------------------------------*
41| NOOP                   | --                     | NoopCommandHandler                       |
42*------------------------*------------------------*------------------------------------------*
43| PASS                   | USER                   | PassCommandHandler                       |
44*------------------------*------------------------*------------------------------------------*
45| PASV                   | --                     | PasvCommandHandler                       |
46*------------------------*------------------------*------------------------------------------*
47| PORT                   | --                     | PortCommandHandler                       |
48*------------------------*------------------------*------------------------------------------*
49| PWD                    | PWD                    | PwdCommandHandler                        |
50*------------------------*------------------------*------------------------------------------*
51| QUIT                   | QUIT / BYE             | QuitCommandHandler                       |
52*------------------------*------------------------*------------------------------------------*
53| REIN                   | --                     | ReinCommandHandler                       |
54*------------------------*------------------------*------------------------------------------*
55| REST                   | --                     | RestCommandHandler                       |
56*------------------------*------------------------*------------------------------------------*
57| RETR                   | GET / RECV             | RetrCommandHandler                       |
58|                        |                        | FileRetrCommandHandler (2)               |
59*------------------------*------------------------*------------------------------------------*
60| RMD                    | RMDIR                  | RmdCommandHandler                        |
61*------------------------*------------------------*------------------------------------------*
62| RNFR                   | RENAME                 | RnfrCommandHandler                       |
63*------------------------*------------------------*------------------------------------------*
64| RNTO                   | RENAME                 | RntoCommandHandler                       |
65*------------------------*------------------------*------------------------------------------*
66| SITE                   | --                     | SiteCommandHandler                       |
67*------------------------*------------------------*------------------------------------------*
68| SMNT                   | --                     | SmntCommandHandler                       |
69*------------------------*------------------------*------------------------------------------*
70| STAT                   | STATUS                 | StatCommandHandler                       |
71*------------------------*------------------------*------------------------------------------*
72| STOR                   | PUT / SEND             | StorCommandHandler                       |
73*------------------------*------------------------*------------------------------------------*
74| STOU                   | --                     | StouCommandHandler                       |
75*------------------------*------------------------*------------------------------------------*
76| STRU                   | --                     | StruCommandHandler                       |
77*------------------------*------------------------*------------------------------------------*
78| SYST                   | --                     | SystCommandHandler                       |
79*------------------------*------------------------*------------------------------------------*
80| TYPE                   | ASCII / BINARY / TYPE  | TypeCommandHandler                       |
81*------------------------*------------------------*------------------------------------------*
82| USER                   | USER                   | UserCommandHandler                       |
83*------------------------*------------------------*------------------------------------------*
84
85  (1) This is not a <real> FTP Server command, but rather encapsulates the sending of the
86      220 reply code after the initial connection to the server.
87
88  (2) An alternative to the default <CommandHandler> implementation. See its class Javadoc.
89
90