--- /dev/null
+/*\r
+ * FreeRTOS+TCP V2.0.3\r
+ * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
+ *\r
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
+ * this software and associated documentation files (the "Software"), to deal in\r
+ * the Software without restriction, including without limitation the rights to\r
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
+ * the Software, and to permit persons to whom the Software is furnished to do so,\r
+ * subject to the following conditions:\r
+ *\r
+ * The above copyright notice and this permission notice shall be included in all\r
+ * copies or substantial portions of the Software.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+ *\r
+ * http://aws.amazon.com/freertos\r
+ * http://www.FreeRTOS.org\r
+ */\r
+\r
+/* FreeRTOS includes. */\r
+#include "FreeRTOS.h"\r
+\r
+/* FreeRTOS+TCP includes. */\r
+#include "FreeRTOS_FTP_commands.h"\r
+\r
+const FTPCommand_t xFTPCommands[ FTP_CMD_COUNT ] =\r
+{\r
+/* cmdLen cmdName[7] cmdType checkLogin checkNullArg */\r
+ { 4, "USER", ECMD_USER, pdFALSE, pdFALSE },\r
+ { 4, "PASS", ECMD_PASS, pdFALSE, pdFALSE },\r
+ { 4, "ACCT", ECMD_ACCT, pdTRUE, pdFALSE },\r
+ { 3, "CWD", ECMD_CWD, pdTRUE, pdTRUE },\r
+ { 4, "CDUP", ECMD_CDUP, pdTRUE, pdFALSE },\r
+ { 4, "SMNT", ECMD_SMNT, pdTRUE, pdFALSE },\r
+ { 4, "QUIT", ECMD_QUIT, pdTRUE, pdFALSE },\r
+ { 4, "REIN", ECMD_REIN, pdTRUE, pdFALSE },\r
+ { 4, "PORT", ECMD_PORT, pdTRUE, pdFALSE },\r
+ { 4, "PASV", ECMD_PASV, pdTRUE, pdFALSE },\r
+ { 4, "TYPE", ECMD_TYPE, pdTRUE, pdFALSE },\r
+ { 4, "STRU", ECMD_STRU, pdTRUE, pdFALSE },\r
+ { 4, "MODE", ECMD_MODE, pdTRUE, pdFALSE },\r
+ { 4, "RETR", ECMD_RETR, pdTRUE, pdTRUE },\r
+ { 4, "STOR", ECMD_STOR, pdTRUE, pdTRUE },\r
+ { 4, "STOU", ECMD_STOU, pdTRUE, pdFALSE },\r
+ { 4, "APPE", ECMD_APPE, pdTRUE, pdFALSE },\r
+ { 4, "ALLO", ECMD_ALLO, pdTRUE, pdFALSE },\r
+ { 4, "REST", ECMD_REST, pdTRUE, pdFALSE },\r
+ { 4, "RNFR", ECMD_RNFR, pdTRUE, pdTRUE },\r
+ { 4, "RNTO", ECMD_RNTO, pdTRUE, pdTRUE },\r
+ { 4, "ABOR", ECMD_ABOR, pdTRUE, pdFALSE },\r
+ { 4, "SIZE", ECMD_SIZE, pdTRUE, pdTRUE },\r
+ { 4, "MDTM", ECMD_MDTM, pdTRUE, pdTRUE },\r
+ { 4, "DELE", ECMD_DELE, pdTRUE, pdTRUE },\r
+ { 3, "RMD", ECMD_RMD, pdTRUE, pdTRUE },\r
+ { 3, "MKD", ECMD_MKD, pdTRUE, pdTRUE },\r
+ { 3, "PWD", ECMD_PWD, pdTRUE, pdFALSE },\r
+ { 4, "LIST", ECMD_LIST, pdTRUE, pdFALSE },\r
+ { 4, "NLST", ECMD_NLST, pdTRUE, pdFALSE },\r
+ { 4, "SITE", ECMD_SITE, pdTRUE, pdFALSE },\r
+ { 4, "SYST", ECMD_SYST, pdFALSE, pdFALSE },\r
+ { 4, "FEAT", ECMD_FEAT, pdFALSE, pdFALSE },\r
+ { 4, "STAT", ECMD_STAT, pdTRUE, pdFALSE },\r
+ { 4, "HELP", ECMD_HELP, pdFALSE, pdFALSE },\r
+ { 4, "NOOP", ECMD_NOOP, pdFALSE, pdFALSE },\r
+ { 4, "EMPT", ECMD_EMPTY, pdFALSE, pdFALSE },\r
+ { 4, "CLOS", ECMD_CLOSE, pdTRUE, pdFALSE },\r
+ { 4, "UNKN", ECMD_UNKNOWN, pdFALSE, pdFALSE },\r
+};\r