• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    C
  • License
    BSD 3-Clause "New...
  • Created almost 14 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lightweight FTP server written in C

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.