Skip to content
Lightweight FTP server written in C
C Makefile
Branch: master
Clone or download
3
Latest commit 13d5a1b Aug 8, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENCE Added readme and licence Dec 24, 2010
Makefile Makefile Nov 12, 2015
README.md Update README.md Aug 8, 2016
common.h Fixed RETR to work with ABOR Dec 24, 2010
handles.c send_file & getip Nov 12, 2015
server.c send_file & getip Nov 12, 2015

README.md

Simple ftp server

How to install:

cd to the ftp dir
make
execute with ./ftp

Commands that are currently implemented:

  • USER PASS - anonymous ftp only at the moment
  • PASV LIST CWD PWD MKD RMD RETR STOR DELE SIZE ABOR QUIT TYPE NOOP

TODO

  • user log in
  • get file
  • put file
  • mkdir, rm, rmdir

Server currently works with linux only because of splice() and sendfile() functions. It should be easy enough to implement RETR and STOR for other systems too, so it is in my todo list.

This server currently doesn't support ASCII mode but this sould not be a problem with any modern system or ftp client.

You can’t perform that action at this time.