You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Schafwolle 12f81d74ec fixed commit encoding 3 years ago
test-in-docker saner ordering of operations in the test-Dockerfile 4 years ago
LICENSE Fix license generated by github 11 years ago
README.md add docker tester 4 years ago
ftpd.c use lwip-debugging 4 years ago
ftpd.h support usage of headers within C++ 3 years ago
vfs.c close the directory before discarding it 4 years ago
vfs.h fixed commit encoding 3 years ago

README.md

FTP server for lwip and tinyfatfs

This repository contains the ftp-server for lwip Copyright (c) 2002 Florian Schulze and an API translation layer Copyright (c) 2013 Philipp Tölke.

The translation layer translates between the vfs-API the ftp server uses and the well known tinyfatfs by ChaN, which can be downloaded at http://elm-chan.org/fsw/ff/00index_e.html .

The translation-layer

  • is not reentrant and it is possible that multiple concurrent ftp-connections are not supported.
  • relies on malloc(). It would be easy to change this to use a pooled allocator
  • does not use long filenames for any function apart from getcwd().

All code in this repository is licensed under a 3-clause BSD license

Patches, comments and pull-requests are welcome.

To build a docker container for testing

docker build -f test-in-docker\Dockerfile -t lwip-ftpd-test .

It will start lwip running on IP 172.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/data as backing store, you can mount that in, if needed. The tester will mkfs when there is no file-system in that file.