Simple implementation of FTP server according to RFC 959. Author: Vojtech Hudecek, 2014 Developed as a school project.
Installation
- copy the program to the desired directory
- set variables in headers/conf.h, paths are relative to current working directory, must start by slash, but cannot end with it
- it's essential to create file users.db. In this file are listed users in the format "user:password\n"
- run make in parent directory 5 ./run [-c port_to_listen_on]
NOTE: the program must be run with root priveleges because of use of chroot function after the chroot it switches the UID to a one defined in header/conf.h. However, it's essential to have root privileges if you want to use well known ports.