The client can access files stored on the server. 'listall' lists all files and directories hosted on the server. 'send' is used to download files from the server. All exceptions on the server side are handled.
Usage: send <filename>
> listall //client requests to view files hosted on the server
weather.txt
hi.png
hello.py
> send hi.png //client downloads 'hi.png'
g++ -o file_server file_server.cg++ -o file_client file_client.c- Precompiled executables have been provided.
./exec-
The server can be executed at a particular directory.
-
Multiple clients running at various locations can access the server.
-
No external libraries were used.