1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.net.ftp;
19
20
21
22
23 public enum FTPCmd {
24
25
26 ABOR,
27
28
29 ACCT,
30
31
32 ALLO,
33
34
35 APPE,
36
37
38 CDUP,
39
40
41 CWD,
42
43
44 DELE,
45
46
47 EPRT,
48
49
50 EPSV,
51
52
53 FEAT,
54
55
56 HELP,
57
58
59 LIST,
60
61
62 MDTM,
63
64
65 MFMT,
66
67
68 MKD,
69
70
71 MLSD,
72
73
74 MLST,
75
76
77 MODE,
78
79
80 NLST,
81
82
83 NOOP,
84
85
86 PASS,
87
88
89 PASV,
90
91
92 PORT,
93
94
95 PWD,
96
97
98 QUIT,
99
100
101 REIN,
102
103
104 REST,
105
106
107 RETR,
108
109
110 RMD,
111
112
113 RNFR,
114
115
116 RNTO,
117
118
119 SITE,
120
121
122 SIZE,
123
124
125 SMNT,
126
127
128 STAT,
129
130
131 STOR,
132
133
134 STOU,
135
136
137 STRU,
138
139
140 SYST,
141
142
143 TYPE,
144
145
146 USER;
147
148
149
150
151 public static final FTPCmd ABORT = ABOR;
152
153
154 public static final FTPCmd ACCOUNT = ACCT;
155
156
157 public static final FTPCmd ALLOCATE = ALLO;
158
159
160 public static final FTPCmd APPEND = APPE;
161
162
163 public static final FTPCmd CHANGE_TO_PARENT_DIRECTORY = CDUP;
164
165
166 public static final FTPCmd CHANGE_WORKING_DIRECTORY = CWD;
167
168
169 public static final FTPCmd DATA_PORT = PORT;
170
171
172 public static final FTPCmd DELETE = DELE;
173
174
175 public static final FTPCmd FEATURES = FEAT;
176
177
178 public static final FTPCmd FILE_STRUCTURE = STRU;
179
180
181 public static final FTPCmd GET_MOD_TIME = MDTM;
182
183
184 public static final FTPCmd LOGOUT = QUIT;
185
186
187 public static final FTPCmd MAKE_DIRECTORY = MKD;
188
189
190 public static final FTPCmd MOD_TIME = MDTM;
191
192
193 public static final FTPCmd NAME_LIST = NLST;
194
195
196 public static final FTPCmd PASSIVE = PASV;
197
198
199 public static final FTPCmd PASSWORD = PASS;
200
201
202 public static final FTPCmd PRINT_WORKING_DIRECTORY = PWD;
203
204
205 public static final FTPCmd REINITIALIZE = REIN;
206
207
208 public static final FTPCmd REMOVE_DIRECTORY = RMD;
209
210
211 public static final FTPCmd RENAME_FROM = RNFR;
212
213
214 public static final FTPCmd RENAME_TO = RNTO;
215
216
217 public static final FTPCmd REPRESENTATION_TYPE = TYPE;
218
219
220 public static final FTPCmd RESTART = REST;
221
222
223 public static final FTPCmd RETRIEVE = RETR;
224
225
226 public static final FTPCmd SET_MOD_TIME = MFMT;
227
228
229 public static final FTPCmd SITE_PARAMETERS = SITE;
230
231
232 public static final FTPCmd STATUS = STAT;
233
234
235 public static final FTPCmd STORE = STOR;
236
237
238 public static final FTPCmd STORE_UNIQUE = STOU;
239
240
241 public static final FTPCmd STRUCTURE_MOUNT = SMNT;
242
243
244 public static final FTPCmd SYSTEM = SYST;
245
246
247 public static final FTPCmd TRANSFER_MODE = MODE;
248
249
250 public static final FTPCmd USERNAME = USER;
251
252
253
254
255
256
257 public final String getCommand() {
258 return this.name();
259 }
260
261 }