Skip to content

Commit

Permalink
Change ftpd to support a ftp program of Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bingdo committed Feb 16, 2015
1 parent 0aecc25 commit cfce843
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit cfce843

Please sign in to comment.