From a3f17e9eedb69cc6a9530fbb534b90dfc0b80234 Mon Sep 17 00:00:00 2001 From: Michael Theall Date: Sun, 19 Jun 2016 21:44:05 -0500 Subject: [PATCH] Put a space between command and arguments for invalid command --- source/ftp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/ftp.c b/source/ftp.c index b410756..0d040a5 100644 --- a/source/ftp.c +++ b/source/ftp.c @@ -1251,6 +1251,8 @@ ftp_session_read_command(ftp_session_t *session, /* send args (if any) */ if(*args != 0) { + ftp_send_response_buffer(session, " ", 1); + len = strlen(args); buffer = encode_path(args, &len, false); if(buffer != NULL)