Skip to content

xRozzo/FTP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published