1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of
5 * the License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
15 * MA 02111-1307 USA
16 */
17#ifndef VSF_FTPCODES_H
18#define VSF_FTPCODES_H
19
20#define FTP_DATACONN          150
21
22#define FTP_NOOPOK            200
23#define FTP_TYPEOK            200
24#define FTP_PORTOK            200
25#define FTP_EPRTOK            200
26#define FTP_UMASKOK           200
27#define FTP_CHMODOK           200
28#define FTP_EPSVALLOK         200
29#define FTP_STRUOK            200
30#define FTP_MODEOK            200
31#define FTP_PBSZOK            200
32#define FTP_PROTOK            200
33#define FTP_OPTSOK	      200
34#define FTP_ALLOOK            202
35#define FTP_FEAT              211
36#define FTP_STATOK            211
37#define FTP_SIZEOK            213
38#define FTP_MDTMOK            213
39#define FTP_STATFILE_OK       213
40#define FTP_SITEHELP          214
41#define FTP_HELP              214
42#define FTP_SYSTOK            215
43#define FTP_GREET             220
44#define FTP_GOODBYE           221
45#define FTP_ABOR_NOCONN       225
46#define FTP_TRANSFEROK        226
47#define FTP_ABOROK            226
48#define FTP_PASVOK            227
49#define FTP_EPSVOK            229
50#define FTP_LOGINOK           230
51#define FTP_AUTHOK            234
52#define FTP_CWDOK             250
53#define FTP_RMDIROK           250
54#define FTP_DELEOK            250
55#define FTP_RENAMEOK          250
56#define FTP_PWDOK             257
57#define FTP_MKDIROK           257
58
59#define FTP_GIVEPWORD         331
60#define FTP_RESTOK            350
61#define FTP_RNFROK            350
62
63#define FTP_IDLE_TIMEOUT      421
64#define FTP_DATA_TIMEOUT      421
65#define FTP_TOO_MANY_USERS    421
66#define FTP_IP_LIMIT          421
67#define FTP_IP_DENY           421
68#define FTP_TLS_FAIL          421
69#define FTP_BADSENDCONN       425
70#define FTP_BADSENDNET        426
71#define FTP_BADSENDFILE       451
72
73#define FTP_BADCMD            500
74#define FTP_BADOPTS           501
75#define FTP_COMMANDNOTIMPL    502
76#define FTP_NEEDUSER          503
77#define FTP_NEEDRNFR          503
78#define FTP_BADPBSZ           503
79#define FTP_BADPROT           503
80#define FTP_BADSTRU           504
81#define FTP_BADMODE           504
82#define FTP_BADAUTH           504
83#define FTP_NOSUCHPROT        504
84#define FTP_NEEDENCRYPT       521
85#define FTP_EPSVBAD           522
86#define FTP_DATATLSBAD        522
87#define FTP_LOGINERR          530
88#define FTP_NOHANDLEPROT      536
89#define FTP_FILEFAIL          550
90#define FTP_NOPERM            550
91#define FTP_UPLOADFAIL        553
92
93#endif /* VSF_FTPCODES_H */
94