Skip to content

Latest commit

 

History

History

myftp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

myftp project 📁

Done by Maxime - Epitech 2023 🎓

Overview

This project is a part of the second year of Epitech.
I had 2 weeks to complete it. 🗓️

The goal of this project was to create a ftp server complient with a RFC959 like protocol in C. 📂

Feature

The following command are implemented, you can find their description in the protocol

  • USER
  • PASS
  • CWD
  • CDUP
  • QUIT
  • PWD
  • PASV
  • HELP
  • NOOP
  • LIST
  • RETR
  • STOR
  • SYST

Warning there is no authentification system, the only way to log into the server is by using the Anonymous user with a blank password (you must use the PASS command with a blank password, not providing any password will not work)

Running the project locally

  • Clone this repository locally
  • Run make in your bash / command line
  • Run ./myftp <port> <path>

To try this program, you can to use this command:

make && ./myftp 4242 ./

Warning the only way to quit the server is to kill it, either via CTRL-C in the command line or by sending a SIGINT

Arguments

  • port: on which port the server will launch
  • path: indicate the root folder of the server

Here are the different tools and languages we used to make this project: 🛠️

Main tools