1/* 2 * Copyright 2007 the original author or authors. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16package org.mockftpserver.core.command; 17 18/** 19 * FTP command name constants. 20 * 21 * @author Chris Mair 22 * @version $Revision$ - $Date$ 23 */ 24public final class CommandNames { 25 26 public static final String ABOR = "ABOR"; 27 public static final String ACCT = "ACCT"; 28 public static final String ALLO = "ALLO"; 29 public static final String APPE = "APPE"; 30 public static final String CDUP = "CDUP"; 31 public static final String CWD = "CWD"; 32 public static final String DELE = "DELE"; 33 public static final String HELP = "HELP"; 34 public static final String LIST = "LIST"; 35 public static final String MKD = "MKD"; 36 public static final String MODE = "MODE"; 37 public static final String NLST = "NLST"; 38 public static final String NOOP = "NOOP"; 39 public static final String PASS = "PASS"; 40 public static final String PASV = "PASV"; 41 public static final String PORT = "PORT"; 42 public static final String PWD = "PWD"; 43 public static final String QUIT = "QUIT"; 44 public static final String REIN = "REIN"; 45 public static final String REST = "REST"; 46 public static final String RETR = "RETR"; 47 public static final String RMD = "RMD"; 48 public static final String RNFR = "RNFR"; 49 public static final String RNTO = "RNTO"; 50 public static final String SITE = "SITE"; 51 public static final String SMNT = "SMNT"; 52 public static final String STAT = "STAT"; 53 public static final String STOR = "STOR"; 54 public static final String STOU = "STOU"; 55 public static final String STRU = "STRU"; 56 public static final String SYST = "SYST"; 57 public static final String TYPE = "TYPE"; 58 public static final String USER = "USER"; 59 60 public static final String XPWD = "XPWD"; 61 62 // Special commands - not "real" FTP commands 63 public static final String CONNECT = "CONNECT"; 64 public static final String UNSUPPORTED = "UNSUPPORTED"; 65 66 /** 67 * Private constructor. This class should not be instantiated. 68 */ 69 private CommandNames() { 70 } 71 72} 73