Skip to content

vojtsek/FTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple implementation of FTP server according to RFC 959. Author: Vojtech Hudecek, 2014 Developed as a school project.

Installation

  1. copy the program to the desired directory
  2. set variables in headers/conf.h, paths are relative to current working directory, must start by slash, but cannot end with it
  3. it's essential to create file users.db. In this file are listed users in the format "user:password\n"
  4. 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.

About

simple FTP server written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages