Browse Source

Fix unhandled TYPE command

FileZilla and most other FTP clients are not able to cope with unhandled TYPE command. Return success instead of command not implemented.
pull/16/head
Murat Seker 8 years ago
committed by GitHub
parent
commit
3019a6d331
  1. 2
      ftpd.c

2
ftpd.c

@ -945,7 +945,7 @@ static void cmd_abrt(const char *arg, struct tcp_pcb *pcb, struct ftpd_msgstate
static void cmd_type(const char *arg, struct tcp_pcb *pcb, struct ftpd_msgstate *fsm)
{
dbg_printf("Got TYPE -%s-\n", arg);
send_msg(pcb, fsm, msg502);
send_msg(pcb, fsm, msg200);
}
static void cmd_mode(const char *arg, struct tcp_pcb *pcb, struct ftpd_msgstate *fsm)

Loading…
Cancel
Save