Home | History | Annotate | Download | only in command
      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  */
     16 package org.mockftpserver.core.command;
     17 
     18 /**
     19  * FTP command name constants.
     20  *
     21  * @author Chris Mair
     22  * @version $Revision$ - $Date$
     23  */
     24 public 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 EPRT = "EPRT";
     34     public static final String EPSV = "EPSV";
     35     public static final String HELP = "HELP";
     36     public static final String LIST = "LIST";
     37     public static final String MKD = "MKD";
     38     public static final String MODE = "MODE";
     39     public static final String NLST = "NLST";
     40     public static final String NOOP = "NOOP";
     41     public static final String PASS = "PASS";
     42     public static final String PASV = "PASV";
     43     public static final String PORT = "PORT";
     44     public static final String PWD = "PWD";
     45     public static final String QUIT = "QUIT";
     46     public static final String REIN = "REIN";
     47     public static final String REST = "REST";
     48     public static final String RETR = "RETR";
     49     public static final String RMD = "RMD";
     50     public static final String RNFR = "RNFR";
     51     public static final String RNTO = "RNTO";
     52     public static final String SITE = "SITE";
     53     public static final String SMNT = "SMNT";
     54     public static final String STAT = "STAT";
     55     public static final String STOR = "STOR";
     56     public static final String STOU = "STOU";
     57     public static final String STRU = "STRU";
     58     public static final String SYST = "SYST";
     59     public static final String TYPE = "TYPE";
     60     public static final String USER = "USER";
     61 
     62     public static final String XPWD = "XPWD";
     63 
     64     // Special commands - not "real" FTP commands
     65     public static final String CONNECT = "CONNECT";
     66     public static final String UNSUPPORTED = "UNSUPPORTED";
     67 
     68     /**
     69      * Private constructor. This class should not be instantiated.
     70      */
     71     private CommandNames() {
     72     }
     73 
     74 }
     75