Ft_p
Disclaimer
In School 42, almost every project must be written according to a coding syntax standard (also known as "Norme").
That's why some parts may be strange
About
This introductory project on UNIX network programming invites us to realize a client-server offering identical services to ftp.
This is the first project of the Network & System Administration branch at School 42 Paris
Installation
Run make fclean && make
Usage
./server <port>
./client <addr> <port>
Example
./server 4242 & ./client localhost 4242
Server Commands:
ls
: List directory contentscp
: Copy filesmv
: Move filescd
: Change current directoryget
: Retrieve a file previously storeput
: Store a local file into the serverdel
: Remove a filepwd
: Show current directoryquit
: Exit clientmkdir
: Make directoriesrmdir
: Remove directories
Local Commands:
lls
: List local directory contentslcd
: Change local current directorylpwd
: Show local current directory