docker build -f test-in-docker\Dockerfile -t lwip-ftpd-test . It will start lwip running on IP172.17.0.5, be sure to change that if it is not your docker network. You can then access ftp by dialing that address. It uses a file called/app/dataas backing store, you can mount that...
; static void ftpd_dataerr(void *arg, err_t err) { struct ftpd_datastate *fsd = arg; LWIP_DEBUGF(FTPD_DEBUG, ("ftpd_dataerr: %s (%i)\n", lwip_strerr(err), err)); if (fsd == NULL) return; fsd->msgfs->datafs = NULL; fsd->msgfs->state = FTPD_IDLE; free(fsd); } ...
FTP server for lwip and tinyfatfs. Contribute to toelke/lwip-ftpd development by creating an account on GitHub.