Skip to content
Permalink
Browse files

Change ftpd to support a ftp program of Windows.

  • Loading branch information...
bingdo committed Feb 16, 2015
1 parent 0aecc25 commit cfce843031bf4657fc9530e5c505a9a3d555fc91
Showing with 2 additions and 2 deletions.
  1. +2 −2 WIZ550web_Firmware/WIZ550web_App/src/Internet/FTPServer/ftpd.c
@@ -776,6 +776,7 @@ char proc_ftpd(char * buf)
break;

case PWD_CMD:
case XPWD_CMD:
slen = sprintf(sendbuf, "257 \"%s\" is current directory.\r\n", ftp.workingdir);
send(CTRL_SOCK, (uint8_t *)sendbuf, slen);
break;
@@ -850,6 +851,7 @@ char proc_ftpd(char * buf)
break;

case MKD_CMD:
case XMKD_CMD:
slen = strlen(arg);
arg[slen - 1] = 0x00;
arg[slen - 2] = 0x00;
@@ -889,9 +891,7 @@ char proc_ftpd(char * buf)
break;

case XCWD_CMD:
case XPWD_CMD:
case ACCT_CMD:
case XMKD_CMD:
case XRMD_CMD:
case RMD_CMD:
case STRU_CMD:

0 comments on commit cfce843

Please sign in to comment.
You can’t perform that action at this time.