xRozzo / FTP-Server

Implementation of FTP server in C (RFC959)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my FTP - File Transfer Protocol Server

Project Overview

Network
NT-101

This project aims to implement a simple FTP (File Transfer Protocol) server. The server is designed to handle file transfers, directory navigation, and basic user authentication.

Binary Name

myftp

Language

C

Compilation

Compilation is handled via a Makefile with the following rules:

  • make: Compiles the project.
  • make re: Re-compiles the project, first cleaning previous compilations.
  • make clean: Cleans the project (removing object files and temporary files).
  • make fclean: Cleans the project fully (including the binary).

Note: All source files must be included in the delivery, excluding binary files, temporary files, object files, etc. Bonus files, if any, should be located in a directory named bonus.

Usage

./myftp -help
USAGE: ./myftp port path
  port: Port number on which the server socket listens.
  path: Path to the home directory for the Anonymous user.

Examples

./myftp 21 /home/user/ftp

Connect clinet to server

nc localhost 21  "recommanded to use netcat"

Commands

  • See the list of commands in the file commands

About

Implementation of FTP server in C (RFC959)


Languages

Language:C 92.9%Language:Shell 6.1%Language:Makefile 0.9%