Skip to content

zhenyuzz/ftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMPLE FTP server


How to install:
---------------

  1) cd to the ftp dir
  2) make
  3) 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 list is long however the basic functionality is there:
  - 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.

About

Lightweight FTP server written in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.9%
  • Makefile 1.1%