ftppr NLSD command added

This commit is contained in:
Vladimir Dubrovin 2014-04-21 01:17:23 +04:00
parent 618673c335
commit 8f4243ffe1
2 changed files with 4 additions and 0 deletions

View File

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

View File

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