浏览代码

ftppr NLSD command added

Vladimir Dubrovin 11 年之前
父节点
当前提交
8f4243ffe1
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      Changelog
  2. 1 0
      src/ftppr.c

+ 3 - 0
Changelog

@@ -1,3 +1,6 @@
+21.04.2014
++ FTP MLSD support added
+
 08.04.2014
 Releasing as 0.7
 Significant changes since 0.6.1:

+ 1 - 0
src/ftppr.c

@@ -174,6 +174,7 @@ param->srv->logfunc(param,buf);
 		!(strncasecmp((char *)buf, "RETR ", 5) && (param->operation = FTP_GET)) ||
 		!(strncasecmp((char *)buf, "LIST", 4) && (param->operation = FTP_LIST))||
 		!(strncasecmp((char *)buf, "NLST ", 5) && (param->operation = FTP_LIST)) ||
+		!(strncasecmp((char *)buf, "MLSD", 4) && (param->operation = FTP_LIST)) ||
 		!(strncasecmp((char *)buf, "APPE ", 5) && (param->operation = FTP_PUT)) ||
 		!(strncasecmp((char *)buf, "STOR ", 5) && (param->operation = FTP_PUT))
 	)){