193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair/*
293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * Copyright 2007 the original author or authors.
393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair *
493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * Licensed under the Apache License, Version 2.0 (the "License");
593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * you may not use this file except in compliance with the License.
693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * You may obtain a copy of the License at
793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair *
893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair *      http://www.apache.org/licenses/LICENSE-2.0
993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair *
1093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * Unless required by applicable law or agreed to in writing, software
1193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * distributed under the License is distributed on an "AS IS" BASIS,
1293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * See the License for the specific language governing permissions and
1493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * limitations under the License.
1593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair */
1693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismairpackage org.mockftpserver.core.command;
1793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair
1893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair/**
195c17f34e1a613c319d355112f8298c20015ef7f2chrismair * Reply Code constants.
2093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair *
2193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * @author Chris Mair
225c17f34e1a613c319d355112f8298c20015ef7f2chrismair * @version $Revision$ - $Date$
2393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair */
2493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismairpublic final class ReplyCodes {
2593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair
2693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int ABOR_OK = 226;
2793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int ACCT_OK = 230;
2893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int ALLO_OK = 200;
295e9a0227eb376a4d67ada00c7ea54d3f7962cefdchrismair    public static final int CDUP_OK = 200;
3093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int CWD_OK = 250;
3193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int DELE_OK = 250;
3275520503341f870a8d2a27e0a82cca14f8aa6a4bchrismair    public static final int EPRT_OK = 200;
3375520503341f870a8d2a27e0a82cca14f8aa6a4bchrismair    public static final int EPSV_OK = 229;
3493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int HELP_OK = 214;
3593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int MKD_OK = 257;
3693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int MODE_OK = 200;
3793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int NOOP_OK = 200;
3893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int PASS_OK = 230;
39fa3e4a9d121b1ad40a6d418b925afda82d3567bachrismair    public static final int PASS_NEED_ACCOUNT = 332;
4033e5281191636818c9efc791bdcd670c3a845f7echrismair    public static final int PASS_LOG_IN_FAILED = 530;
4193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int PASV_OK = 227;
4293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int PORT_OK = 200;
4393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int PWD_OK = 257;
4493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int QUIT_OK = 221;
4593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int REIN_OK = 220;
4693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int REST_OK = 350;
4793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int RMD_OK = 250;
4893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int RNFR_OK = 350;
4993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int RNTO_OK = 250;
5093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int SITE_OK = 200;
5193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int SMNT_OK = 250;
5293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int STAT_SYSTEM_OK = 211;
5393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int STAT_FILE_OK = 213;
5493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int STRU_OK = 200;
5593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int SYST_OK = 215;
5693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int TYPE_OK = 200;
5793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int USER_LOGGED_IN_OK = 230;
5893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int USER_NEED_PASSWORD_OK = 331;
5978795c9e5e3c55fc294f011bcc129b7aab0f49b7chrismair    public static final int USER_NO_SUCH_USER = 530;
605c17f34e1a613c319d355112f8298c20015ef7f2chrismair    public static final int USER_ACCOUNT_NOT_VALID = 530;
615c17f34e1a613c319d355112f8298c20015ef7f2chrismair
625e4167540f70a75ce28b9c69a41db7ee38c22de3chrismair    public static final int TRANSFER_DATA_INITIAL_OK = 150;
635e4167540f70a75ce28b9c69a41db7ee38c22de3chrismair    public static final int TRANSFER_DATA_FINAL_OK = 226;
6493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair
6593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    public static final int CONNECT_OK = 220;
6693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair
6733e5281191636818c9efc791bdcd670c3a845f7echrismair    // GENERIC
6870cc38904cf8c9abc6f9994cec83e2b7685a607dchrismair    public static final int SYSTEM_ERROR = 451;
6933e5281191636818c9efc791bdcd670c3a845f7echrismair    public static final int COMMAND_SYNTAX_ERROR = 501;
7049deb463d1cc3132e4aa60bfd4469398c57c1745chrismair    public static final int COMMAND_NOT_SUPPORTED = 502;
7133e5281191636818c9efc791bdcd670c3a845f7echrismair    public static final int ILLEGAL_STATE = 503;       // Bad sequence
72ae0aaa3a69844af9a57ec1e0219adba82c9919d3chrismair    public static final int NOT_LOGGED_IN = 530;
73c4a22299b897279a8518308b9067da84af077281chrismair    public static final int READ_FILE_ERROR = 550;
74c4a22299b897279a8518308b9067da84af077281chrismair    public static final int WRITE_FILE_ERROR = 553;
75016b6dd21f1a552e28f4c6894b586b770241b0edchrismair    public static final int FILENAME_NOT_VALID = 553;
765c17f34e1a613c319d355112f8298c20015ef7f2chrismair
7793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    /**
7893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair     * Private constructor. This class should not be instantiated.
7993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair     */
8093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    private ReplyCodes() {
8193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair    }
8293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair
8393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair}
84