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/** 1949deb463d1cc3132e4aa60bfd4469398c57c1745chrismair * FTP command name constants. 2093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * 2193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * @author Chris Mair 2249deb463d1cc3132e4aa60bfd4469398c57c1745chrismair * @version $Revision$ - $Date$ 2393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair */ 2493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismairpublic final class CommandNames { 2593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair 2693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String ABOR = "ABOR"; 2793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String ACCT = "ACCT"; 2893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String ALLO = "ALLO"; 2993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String APPE = "APPE"; 3093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String CDUP = "CDUP"; 3193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String CWD = "CWD"; 3293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String DELE = "DELE"; 3375520503341f870a8d2a27e0a82cca14f8aa6a4bchrismair public static final String EPRT = "EPRT"; 3475520503341f870a8d2a27e0a82cca14f8aa6a4bchrismair public static final String EPSV = "EPSV"; 3593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String HELP = "HELP"; 3693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String LIST = "LIST"; 3793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String MKD = "MKD"; 3893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String MODE = "MODE"; 3993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String NLST = "NLST"; 4093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String NOOP = "NOOP"; 4193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String PASS = "PASS"; 4293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String PASV = "PASV"; 4393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String PORT = "PORT"; 4493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String PWD = "PWD"; 4593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String QUIT = "QUIT"; 4693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String REIN = "REIN"; 4793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String REST = "REST"; 4893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String RETR = "RETR"; 4993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String RMD = "RMD"; 5093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String RNFR = "RNFR"; 5193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String RNTO = "RNTO"; 5293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String SITE = "SITE"; 5393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String SMNT = "SMNT"; 5493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String STAT = "STAT"; 5593102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String STOR = "STOR"; 5693102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String STOU = "STOU"; 5793102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String STRU = "STRU"; 5893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String SYST = "SYST"; 5993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String TYPE = "TYPE"; 6093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String USER = "USER"; 6193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair 6293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair public static final String XPWD = "XPWD"; 6393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair 6449deb463d1cc3132e4aa60bfd4469398c57c1745chrismair // Special commands - not "real" FTP commands 6549deb463d1cc3132e4aa60bfd4469398c57c1745chrismair public static final String CONNECT = "CONNECT"; 6649deb463d1cc3132e4aa60bfd4469398c57c1745chrismair public static final String UNSUPPORTED = "UNSUPPORTED"; 6749deb463d1cc3132e4aa60bfd4469398c57c1745chrismair 6893102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair /** 6993102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair * Private constructor. This class should not be instantiated. 7093102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair */ 7193102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair private CommandNames() { 7293102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair } 7393102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair 7493102446a7b7c3d17888064b4e2e4e5cb534e6d0chrismair} 75