1 diff -urpN busybox-1.14.1/networking/ftpd.c busybox-1.14.1-ftpd/networking/ftpd.c
2 --- busybox-1.14.1/networking/ftpd.c 2009-05-27 18:00:23.000000000 +0200
3 +++ busybox-1.14.1-ftpd/networking/ftpd.c 2009-06-04 18:59:49.000000000 +0200
4 @@ -1320,6 +1320,8 @@ int ftpd_main(int argc UNUSED_PARAM, cha
6 else if (cmdval == const_STOU) /* "store unique" */
13 @@ -1340,6 +1342,9 @@ int ftpd_main(int argc UNUSED_PARAM, cha
14 * (doesn't necessarily mean "we must support them")
15 * foo 1.2.3: XXXX - comment
17 +#if ENABLE_FEATURE_FTP_WRITE
20 cmdio_write_raw(STR(FTP_BADCMD)" Unknown command\r\n");