[En-Nut-Discussion] FTPD - RMD command response

Paweł pawel8542 at o2.pl
Thu May 21 10:31:15 CEST 2015


        Hello
Response for RMD command should be 250, but now it is 257.
Sometimes it can cause small problems.

regards
Pawel

--- /nut/pro/ftpd.c-revBASE.svn000.tmp.c
+++ /nut/pro/ftpd.c   
@@ -1131,7 +1131,7 @@
     if (rmdir(path)) {
         return NutFtpRespondBad(session, 451);
     }
-    return NutFtpRespondOk(session, 257);
+    return NutFtpRespondOk(session, 250);
 }
 
 /*!



More information about the En-Nut-Discussion mailing list